Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Mar 2009
    Posts
    6

    Default New accounts serving default "great success" page from /usr/local/apache/htdocs

    I've just started with WHM/cPanel, and to my knowledge all I need to do to add accounts is use the "Create a New Account" tool in WHM. For some reason though, all the accounts I create show the "Great Success!" page, despite there being files in the account's root directory (/home/account/public_html)

    When I use tail -f /usr/local/apache/logs/error_log and request a random file on the domain, I get this:

    script '/usr/local/apache/htdocs/index.php' not found or unable to stat
    File does not exist: /usr/local/apache/htdocs/sadfadfa

    What could be causing this? The domain is resolving to the correct IP, but apache is looking in the wrong directory for my files.

  2. #2
    cPanel Product Evangelist Infopro's Avatar
    Join Date
    May 2003
    Location
    Pennsylvania
    Posts
    7,892
    cPanel/Enkompass Access Level

    Root Administrator

    Question

    Did you create a package and give that new account that package?

  3. #3
    Member
    Join Date
    Mar 2009
    Posts
    6

    Default

    I was under the impression that it just gave a default set of settings if no package was specifically set, so I didn't, but just now I manually created a package with all the default settings and gave it to the account, but no change. Still the same welcome page.

  4. #4
    Member
    Join Date
    Mar 2009
    Posts
    6

    Default

    To make this even more puzzling, here's the relevant entry in httpd.conf:

    <VirtualHost 1.1.1.1:80>
    ServerName thedomain.com
    ServerAlias www. thedomain.com
    DocumentRoot /home/thedomain/public_html
    ServerAdmin webmaster@ thedomain.com
    ## User theuser # Needed for Cpanel::ApacheConf
    <IfModule mod_suphp.c>
    suPHP_UserGroup theuser theuser
    </IfModule>
    <IfModule !mod_disable_suexec.c>
    SuexecUserGroup theuser theuser
    </IfModule>
    CustomLog /usr/local/apache/domlogs/thedomain.com-bytes_log "%{%s}t %I .\n%{%s}t %O ."
    CustomLog /usr/local/apache/domlogs/thedomain.com combined
    ScriptAlias /cgi-bin/ /home/thedomain/public_html/cgi-bin/
    </VirtualHost>

  5. #5
    Member
    Join Date
    Mar 2009
    Posts
    6

    Default

    Just in case I'm not the only moron here, this was the problem:

    1.1.1.1 was the default in WHM for the IP of the new account, I figured the default would work (as some kind of localhost thing) but apparently not. Changed it to one of my actual IPs, and voila

Similar Threads & Tags
Similar threads

  1. LOTS of " /usr/local/apache/bin/httpd -k start -DSSL"
    By alexmack in forum Optimization
    Replies: 3
    Last Post: 09-10-2010, 12:09 PM
  2. Getting "Great Success!" eventhough webroot has content
    By stardotstar in forum cPanel and WHM Discussions
    Replies: 2
    Last Post: 09-26-2009, 03:29 AM
  3. Replies: 5
    Last Post: 09-21-2009, 08:40 AM
  4. www prefix showing "Great Success" page
    By StaticPhilly in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 05-27-2009, 06:59 AM
  5. Default "Great Success" page showing for everythign
    By ripside in forum cPanel and WHM Discussions
    Replies: 5
    Last Post: 01-19-2007, 02:03 AM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube