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.

Changing customer default website

Discussion in 'General Discussion' started by tom11011, Nov 28, 2009.

  1. tom11011

    tom11011 Member

    Joined:
    Apr 19, 2009
    Messages:
    21
    Likes Received:
    0
    Trophy Points:
    1
    Hello.

    I have a customer who has recently upgraded to a dedicated ip address. When you type the ip address into a browser, he would rather have a different website come up instead of the one that is coming up now. He has 5 websites on his account.

    Thank you for any assistance.
     
  2. madaboutlinux

    madaboutlinux Well-Known Member

    Joined:
    Jan 24, 2005
    Messages:
    1,052
    Likes Received:
    2
    Trophy Points:
    38
    Location:
    Earth
    Edit the httpd.conf file and place the NameVirtualHost entry of the Dedicated IP above the VirtualHost entry of the domain the client want to view on browsing the IP. Remove any other NameVirtualHost entry of that dedicated IP.

    Don't forget to restart the httpd service.
     
Loading...

Share This Page