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.

change Default account

Discussion in 'General Discussion' started by ijasont, Jan 25, 2005.

  1. ijasont

    ijasont Member

    Joined:
    Jul 21, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    I have several accounts (websites) running on my server. My problem is that if you type in my IP address instead of the domain name you get the first site that I happen to sign up on this server.

    How do I make the raw IP address resolve to the site I want it to?
     
  2. sawbuck

    sawbuck Well-Known Member

    Joined:
    Jan 18, 2004
    Messages:
    1,367
    Likes Received:
    5
    Trophy Points:
    38
    cPanel Access Level:
    Root Administrator
    Apache picks up the first VirtualHost directive in the httpd.conf file (/usr/local/apache/conf/) associated with the main/virtual IP of your server as the default. Edit that file and restart Apache.
     
  3. ijasont

    ijasont Member

    Joined:
    Jul 21, 2004
    Messages:
    8
    Likes Received:
    0
    Trophy Points:
    1
    Ahh yeah that makes since. Thanks for the info.
     
Loading...

Share This Page