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.

Default Site by IP

Discussion in 'General Discussion' started by jlimited, May 8, 2005.

  1. jlimited

    jlimited Well-Known Member

    Joined:
    Jun 4, 2004
    Messages:
    69
    Likes Received:
    0
    Trophy Points:
    6
    Hello,

    When I type in my IP address for the server, it loads one of my clients pages. Before it loaded my webpage.

    My site is configured as the reseller account and has all other clients listed under it.

    I do not know how this would have changed. How can I change this back to load my page when you type in the IP address of the site?

    Thanks,
    Jlimited
     
  2. chirpy

    chirpy Well-Known Member

    Joined:
    Jun 15, 2002
    Messages:
    13,475
    Likes Received:
    20
    Trophy Points:
    38
    Location:
    Go on, have a guess
    You need to edit you /etc/httpd/conf/httpd.conf and move the VirtualHost container that you want to appear for the IP address to be the first one for that IP address. Apache processes httpd.conf top down and will respond with the first match for an IP - then restart httpd.
     
Loading...

Share This Page