The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Parked Domains - 404

Discussion in 'General Discussion' started by talexander, May 29, 2013.

  1. talexander

    talexander Member

    Joined:
    Jun 19, 2012
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    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?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    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.
     
Loading...

Share This Page