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.

IP address goes to last sub domain created

Discussion in 'General Discussion' started by nylrya, Apr 28, 2013.

  1. nylrya

    nylrya Registered

    Joined:
    Apr 28, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Reseller Owner
    Hi,
    Just curious why this is happening. I have purchased an extra IP address for a shared hosting account, and I have recently setup a sub domain sub.domain.me (domain.me is a parked domain of domain.com). Now for some reason, when I go directly to the purchased IP address http://123.456.78.99/ it returns the page from sub.domain.me instead of domain.com. Does anyone know why this is happening?

    Thanks,
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,854
    Likes Received:
    676
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    The IP address is going to display the contents of the document root configured on the first Virtual Host in the Apache configuration file for that IP. Your access level is listed as "Reseller Owner" so I presume you do not have root access to this server. You may want to consult with your web hosting provider to see if they can arrange the httpd.conf file so that your primary domain name's Virtual Host is the first one for that IP address.

    Thank you.
     
Loading...

Share This Page