Portal Home > Knowledgebase > Articles Database > 404 Not Found on temporary cPanel url


404 Not Found on temporary cPanel url




Posted by Zaggs, 05-15-2008, 05:46 AM
Hi Guys, I am trying to access a temporary url on cPanel but I get a 404 Not Found error. http://67.12.123.10/~username/ The abobe URL is an example and not the actual URL Any ideas what this problem could be?

Posted by Patrick, 05-15-2008, 09:18 AM
Check the Apache error log first... otherwise make sure you're connecting to the right IP address. For example, if your servers primary interface is 2.1.1.1 but your website is associated with 2.1.1.2 in Apache, accessing it via http://2.1.1.1/~username/ might not work depending on your configuration. Error Logs: tail -f /usr/local/apache/logs/error_log

Posted by Zaggs, 05-15-2008, 09:23 AM
Here's the error I get:

Posted by Patrick, 05-15-2008, 09:30 AM
It's likely that mod_userdir protection is enabled for the user nobody (DefaultHost) and it should be disabled. Login to WHM, click on "Security Center" then click on "Apache mod_userdir Tweak" and make sure DefaultHost (nobody) is checked under the excluded box, then click Save at the bottom and try again.



Was this answer helpful?

Add to Favourites Add to Favourites    Print this Article Print this Article

Also Read


Language: