In this article, you will find how to fix the cPanel temporary URL not working error. The cPanel temporary URL is a link that permits users to view their website using the server’s IP address rather than the domain name and this temporary URL is normally in the type “http://ipaddress/user/”.

In the instances mentioned below, you may receive a 404 error when reaching the temporary URL:

a) Customers that are migrating their accounts from another hosting provider to your server and want to double-check everything before changing the DNS to your server.

b) Whenever consumers are developing new sites and want to evaluate them before opening them up.

Let us follow the steps to resolve this issue:

  1. Log in to WHM.
  2. Select the “Easy Apache4” option from the left-hand side of the screen.

     

  3. Under “Currently Installed Packages” click on the “Customize” option.

     

  4. Then select “Apache Modules”.

     

  5. Search for “mod_riud2”, it should be disabled.

     

  6. Search for “mod_suphp”, enable this option.

     

  7. Click on the “Next” button.

     

  8. You will be redirected to the “PHP versions” automatically.
  9. The settings should be kept as it is and click on the “Next” button for all. Namely, “PHP Extensions”, “Ruby via Passenger”, “Additional packages”.
  10. Check the list of the packages installed in the “Review” section.

     

  11. Now, Find the “Security Center” option from the left-hand side of the screen and select the “Apache mod_userdir Tweak” under it.

     

  12. Untick “Enable mod_userdir Protection”.
  13. Tick the box under “exclude Protection” of “DefaultHost (nobody)”.
  14. Click on the “Save” button.
  15. You will get a success message that the changes have been saved.

     

  16. You can now upload the data and use the temporary URL to access it.

This will resolve the “Temporary URL not working” problem in cPanel. We will be delighted to help you. You can reach out to our customer service team at any time.