talexander

Member
Jun 19, 2012
10
0
1
cPanel Access Level
Root Administrator
I am fairly new to cPanel and WHM and am encountering a bit of a head scratcher.

We have two cPanel servers like so: (Private IP used for example purposes only)

Fred - 10.168.1.1
Barney - 10.168.1.2

mywebsite.com point to Fred.
Fred.mywebsite.com points to Fred and is a Parked Domain of mywebsite.com.

I can access mywebsite.com but get a 404 accessing Fred.mywebsite.com. Both these records are registered with our external DNS server and running an "nslookup" resolves both address to the correct address.

Barney has the same setup and I am able to access barney.mywebsite.com.

I created a small html file and placed that in the public_html directory on Fred of the account through cpanel and am able to access that.

I am a bit stumped as to why I am getting a 404 Not Found when addressing fred.mywebsite.com. Is there an obvious step that I have missed possibly or am I barking up the wrong tree entirely?
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,261
463
Hello :)

Could you confirm the subdomain name that is not loading does not match the hostname of the server? If it does not match the hostname, could you try rebuilding the Apache configuration file? You can do this via:

Code:
# /scripts/rebuildhttpdconf
Thank you.