Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

How to change MAIN WEB SITE

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

  1. pablosc

    pablosc Registered

    Jan 14, 2004
    Likes Received:
    Trophy Points:

    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

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

    PWSowner Well-Known Member

    Nov 10, 2001
    Likes Received:
    Trophy Points:
    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.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice