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.

How to change MAIN WEB SITE

Discussion in 'General Discussion' started by pablosc, Jan 29, 2004.

  1. pablosc

    pablosc Registered

    Joined:
    Jan 14, 2004
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Hello,

    My main shared ip address is pointing to my website
    I need that ip points to another address, my resellers are complaining.

    the ip is http://69.93.35.130

    how i point the ip to another address pls?
     
  2. PWSowner

    PWSowner Well-Known Member

    Joined:
    Nov 10, 2001
    Messages:
    2,948
    Likes Received:
    3
    Trophy Points:
    38
    Location:
    ON, Canada
    Just put something like this

    in your httpd.conf file just before your first VirtualHost entry using your server name and the shared IP address. You can modify the page in /usr/local/apache/htdocs to your liking.

    Another option is to just make one of the other sites that uses the shared IP be the default one. To do that, just move the VirtualHost entry for the domain you prefer to the top of the list of entries. For shared IP's, the first one in the httpd.conf file is the one seen by the IP.
     
Loading...

Share This Page