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!

http://IP/ is going to a clients website

Discussion in 'General Discussion' started by MadStu, Oct 3, 2005.

  1. MadStu

    MadStu Active Member

    Joined:
    May 17, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    156
    Hi,
    Can anyone tlel me how I can stop users visiting my IP address at http://IP/ fom seeing one of my clients websites?

    My other servers have a default cpanel page there (There is no website configured at this address).


    Can someone tell me how I can put that default cpanel page there or to put one of my own sites there in it's place?


    Stu :D
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  2. MadStu

    MadStu Active Member

    Joined:
    May 17, 2003
    Messages:
    34
    Likes Received:
    0
    Trophy Points:
    156
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  3. avijit

    avijit Well-Known Member

    Joined:
    Jul 26, 2004
    Messages:
    116
    Likes Received:
    0
    Trophy Points:
    166
    Location:
    India
    Since the client website is the first VirtualHost entry on that very ip , it is taking to that client page.

    You can add an entry like the following just after the first

    NameVirtualHost xxx.xxx.xxx.xxx:80


    <VirtualHost xxx.xxx.xxx.xxx>
    BytesLog domlogs/server.servername.tld-bytes_log
    ServerName server.servername.tld
    DocumentRoot /usr/local/apache/htdocs
    </VirtualHost>


    Where, xxx.xxx.xxx.xxx is your shared ip.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

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