Community Forums
Connect with us on LinkedIn
Community Notice
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jan 2010
    Posts
    69

    Default Different default page per IP address?

    Hi,

    Is it somehow possible to set different default web pages for different IP-addresses? Currently, our default page shows "this domain has been registered by <company name>", but obviously, this is not something we want to show for resellers, who want their own page (and host on their own IP-address).

    Any help is appreciated.

    Thanks.

  2. #2
    Member
    Join Date
    Jan 2005
    Location
    Earth
    Posts
    1,050

    Default

    By default the shared IP address will show you the cPanel default page. The IPs assigned as dedicated IPs for the websites will show the respective website on browsing the IP address.

    If you want to have a separate page for the Resellers IP who uses the IP as a shared one, you will have to manually add a VirtualHost entry in the Apache configuration (httpd.conf) for the IP. Something like the following per Reseller IP address

    NameVirtualHost xx.xx.xx.xx:80
    <VirtualHost xx.xx.xx.xx:80>
    ServerName server.host.name
    DocumentRoot /path/to/the/reseller/page
    ServerAdmin root@server.host.name
    </VirtualHost>
    where, xx.xx.xx.xx is the resellers IP.

    Restart the httpd service once you edit the Apache conf file.

Similar Threads & Tags
Similar threads

  1. Default page for IP
    By mschulz in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 08-28-2005, 05:22 AM
  2. Replies: 2
    Last Post: 12-02-2004, 05:31 PM
  3. Default account address - Unrouteable address
    By AlexAT in forum cPanel and WHM Discussions
    Replies: 0
    Last Post: 11-21-2003, 01:02 AM
  4. Default Address
    By merletweb in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 02-03-2003, 04:50 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube