How to resolve the 404 error message on the website with the temporary URL?

To access website while developing we often need to see how it looks, there is an option available on the WHM server to check website using serverip/~cPanel_username (Temporary URL) but whenever tried to access temporayr URL, getting 404 Not Found error.

For example :- 1.2.3.4/~testing where, 1.2.3.4 is the server's IP address and "testing" is the cPanel username.

Solution :-

You will need to exclude particular cPanel username from Apache mod_userdir tweak setting through WHM > Security Center > Apache mod_userdir Tweak.

Was this answer helpful?

 Print this Article

Also Read

How to exclude file/folder from backup (pkgacct) on cPanel server?

Is it possible to exlude file/folder from the full cPanel backup on cPanel server? Solution :-...

Is it possible to add multiple backup destinations on the cPanel server?

Is it possible to add multiple backup destinations on the cPanel server?Solution :- Yes, its...

Forbidden. You don’t have permission to access /wp-content/uploads/file-name.pptx

While uploading the files .pptx and .ppt files from WordPress admin dashboard, I was getting the...

JFolder::create: Could not create directory - Warning! Failed to move file. Unable to find install package - Joomla Issue

While installing Extension in Joomla I was getting below error message - JFolder::create: Could...

Auto Index is disabled for the directory, access denied : 403 forbidden

While accessing the directories of website (http://webiste_name/directory_name) getting 403...

Powered by WHMCompleteSolution