Skip to main content

All domains on new cPanel / CloudLinux server show 404

Comments

11 comments

  • someB0dy
    Hi, That really looks like some misconfiguration on the server, is DocumentRoot for test123.domain.com.au really leads to /home/domain/public_html/ (check /usr/local/apache/conf/httpd.conf for that domain)? Or could you please post here full VirtualHost section for it? And what does /usr/local/apache/logs/error_log says ?
    0
  • cPanelMichael
    Hello :) What's the full error message in /usr/local/apache/logs/error_log when opening the website through the domain name? Is the content uploaded to the correct directory? Thank you.
    0
  • Judd Taylor
    Here's an extract from the httpd.conf.... - Removed -
    0
  • Infopro
    [quote="Judd Taylor, post: 1701242">Here's an extract from the httpd.conf.... - Removed -
    Please do not just simply cut and paste into a post on these forums. Don't use the quick reply when making a post like that either. Go to the full editor to post. Use the CODE tags to wrap your content to add it here. Below the reply editor there are 2 checkboxes: Automatically parse links in text Automatically retrieve titles from external links Uncheck both. Finally, modify any post you make to remove personal details like IP addresses, emails, or domain names. Your post has been edited for these reasons. Feel free to go again.
    0
  • Judd Taylor
    extract from error_log (with my local ip replaced with xx.xx...): [Tue Aug 05 09:28:47 2014] [error] [client 203.217.31.125] File does not exist: /usr/local/apache/htdocs/test.htm [Tue Aug 05 09:28:48 2014] [error] [client 203.217.31.125] File does not exist: /usr/local/apache/htdocs/favicon.ico
    0
  • someB0dy
    [quote="Judd Taylor, post: 1701321"> File does not exist: /usr/local/apache/htdocs/test.htm
    It is looking for a file in main apache folder, not in users directory. Really need a virtualhost section for that domain, could you please paste it properly?
    0
  • Judd Taylor
    [quote="someB0dy, post: 1701382">It is looking for a file in main apache folder, not in users directory. Really need a virtualhost section for that domain, could you please paste it properly?
    ServerName test123.domain.com.au ServerAlias www.test123.domain.com.au DocumentRoot /home/domain/public_html ServerAdmin webmaster@test123.domain.com.au UseCanonicalName Off CustomLog /usr/local/apache/domlogs/test123.domain.com.au combined CustomLog /usr/local/apache/domlogs/test123.domain.com.au-bytes_log "%{%s}t %I .\n%{%s}t %O ." ## User domain # Needed for Cpanel::ApacheConf UserDir enabled domain suPHP_UserGroup domain domain php4_admin_value open_basedir "/home/domain:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp" php5_admin_value open_basedir "/home/domain:/usr/lib/php:/usr/local/lib/php:/tmp" php_admin_value open_basedir "/home/domain:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp" php_admin_value open_basedir "/home/domain:/usr/lib/php:/usr/local/lib/php:/tmp" php_admin_value open_basedir "/home/domain:/usr/lib/php:/usr/php4/lib/php:/usr/local/lib/php:/usr/local/php4/lib/php:/tmp" SuexecUserGroup domain domain RMode config RUidGid domain domain # For more information on MPM ITK, please read: # http://mpm-itk.sesse.net/ AssignUserID domain domain ScriptAlias /cgi-bin/ /home/domain/public_html/cgi-bin/ # To customize this VirtualHost use an include file at the following location # Include "/usr/local/apache/conf/userdata/std/2_2/domain/test123.domain.com.au/*.conf"
    0
  • cPanelMichael
    You can open a support ticket so we can take a closer look. Post the ticket number here so we can update this thread with the outcome. Thank you.
    0
  • someB0dy
    well, everything really looks properly, it should works, so I agree support ticket would be the best way here [COLOR="silver">- - - Updated - - - or, maybe something is wrong with apache configs so it failed to restart/apply your new virtualhost. Try to run syntax check: httpd -t
    0
  • Judd Taylor
    I think my issue may be name server related. When initially setting up the server I entered incorrect name servers. I've now corrected them. However, I notice a on an older cPanel server I manage, when I create a new account and tick the option "Use the nameservers specified at the Domain's Registrar", the server identifies the correct current namesevers for the new accounts domain. On this new server when I tick the same option, the server appears unable to obtain the current nameservers for the domain and leaves them set to the default ns.
    0
  • cPanelMichael
    You can use a website such as IntoDNS to review the DNS for a domain name if you are concerned it's not configured properly. Otherwise, please open a support ticket so we can take a closer look. Thank you.
    0

Please sign in to leave a comment.