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.

navigate to server ip - shows first domain

Discussion in 'General Discussion' started by EMS, Feb 26, 2004.

  1. EMS

    EMS BANNED

    Joined:
    May 10, 2003
    Messages:
    250
    Likes Received:
    0
    Trophy Points:
    0
    Hi, I have 2 cpanel installs - on one of them if I go to the server's main ip address in a browser i get "no website configured at this address - which is good.

    On my other server it displays the first domain on the box alphabetically, so if there is a domain starting with A - this is displayed at the server ip.

    So If I want to use the ip_address/~accountname/ this is a problem as it shows first_domain_name/~accountname/
    instead.

    I'm using the server's main Ip as the main shared hoasting IP on both servers.

    What can I do to resolve this ?
     
  2. lmmdave

    lmmdave Registered

    Joined:
    Nov 15, 2003
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    check your httpd.conf

    the first VirtualHost directive should be for your severname with the DocumentRoot to /usr/local/apache/htdocs
     
Loading...

Share This Page