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 modify Cpanel default page when domain is pointing to server?

Discussion in 'General Discussion' started by ramystyle, Apr 2, 2007.

  1. ramystyle

    ramystyle Well-Known Member

    Joined:
    Feb 9, 2004
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Montreal
    Hi,

    When a domain name is pointing to our server and the account is not setup yet, there's a default page that says :"

    How can I modify that page ONLY for ROOT accounts and not my resellers ?

    Thanks
     
    #1 ramystyle, Apr 2, 2007
    Last edited: Apr 2, 2007
  2. _Sam_

    _Sam_ Well-Known Member

    Joined:
    Feb 24, 2007
    Messages:
    79
    Likes Received:
    0
    Trophy Points:
    6
    If you modify that then its for your whole server including resellers..
     
  3. ramystyle

    ramystyle Well-Known Member

    Joined:
    Feb 9, 2004
    Messages:
    64
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Montreal
    There should be a way to modify it only for root..
     
  4. nickp666

    nickp666 Well-Known Member

    Joined:
    Jan 28, 2005
    Messages:
    770
    Likes Received:
    2
    Trophy Points:
    18
    Location:
    /dev/null
    there is no possible way of doing this, how is the server to know who owns the domain if there is no configuration for it? (hence it showing 'There is no website configured at this address ')
     
  5. Spiral

    Spiral BANNED

    Joined:
    Jun 24, 2005
    Messages:
    2,023
    Likes Received:
    7
    Trophy Points:
    0
    There is actually and it is fairly easy to setup!

    All you need to do is simply configure your resellers to use a different shared IP!

    The first account listed under each IP in /etc/httpd/conf/httpd.conf is the default page
    shown whenever connections are made by IP or otherwise don't have a valid domain.

    Normally all shared accounts on the server have the same IP and any default connections
    would pull up the normal Cpanel default page which is the first account in your Apache config.

    However, if your resellers each have their own different IP setup for shared accounts
    (A reseller center config option) then the default page for those resellers would instead
    be the first account listed under each of those respective IPs.

    We have our own default page and our resellers each have their own default pages!
     
  6. cmstasarim

    cmstasarim Member

    Joined:
    Feb 20, 2007
    Messages:
    10
    Likes Received:
    0
    Trophy Points:
    1
    You can change it from /usr/local/cpanel/htdocs directory.
     
Loading...

Share This Page