Skip to main content

Default Site Page

Comments

3 comments

  • cPanelMichael
    Hello :) You can try rebuilding the Apache configuration file via: /scripts/rebuildhttpdconf
    Thank you.
    0
  • jamiegee
    [quote="cPanelMichael, post: 1472221">Hello :) You can try rebuilding the Apache configuration file via: /scripts/rebuildhttpdconf
    Thank you.
    Hi Thank you for your suggestions, however i tried this but it wasn't successful. Do you know if this is defaulted to the way cPanel works or is my configuration wrong? Any help would be much appreciated as this is quite urgent as i dont want my client to see this is happening. Kind regards Jamie
    0
  • quietFinn
    [quote="jamiegee, post: 1471432">Hi I have got WHM set up with 6 accounts on it, When i go to my servers IP address where you normally get the default website page it actually goes to first account alphabetically set up on the server? is there a way to stop this happening and just show the default web page? Many thanks in advanced Kind regards Jamie
    When you go to your sever's IP address Apache looks in httpd.conf and finds the 1st vhost using that IP address and then opens that website. Usually the 1st vhost would be for your server's hostname, like: ServerName server.yourdomain.com DocumentRoot /usr/local/apache/htdocs ServerAdmin admin@yourdomain.com suPHP_UserGroup nobody nobody
    "YOUR_IP_ADDRESS" should be the main shared IP address of your server. It's possible that those 6 accouts you created are using some other IP address. In that case the 1st site in httpd.conf using that IP address will open.
    0

Please sign in to leave a comment.