How to Resolve The Error cPanel Temporary URL Not Working
Firstly we will check the scenarios when cPanel temporary URL are used:
- When customers are building new web sites and before making them public they want to test it.
- Before switching the DNS to your server customers who migrate their accounts from another hosting to your server and want to confirm that everything is fine.
From the above cases While accessing the temporary URL, at times you might get a 404 error.
- Let’s see the steps to resolve it:
- Login to WHM as root account.
- In the search box present on the left-hant side in that, type to search for EasyApache 4 and click on it.
- Click on Customize in the Currently Installed Packages .
- Now navigate to Apache Modules and in this box search for mod_ruid2 and check that this option must be disabled.
- After that again search for mod_suphp and enable this option, then click on Next.
- After clicking on next you will be automatically redirected to the PHP Versions section here the settings should be kept as it is and proceed for the next step.
- Again click on Next.
- No changes, Next.
- Also, section keep the default settings in the Additional Packages and click Next.
- Check the list of packages installed In the Review section of this profile.
- Search for Security Center from left-hand side and under that select the option Apache mod_userdir Tweak.
- Untick the option Enable mod_userdir Protection and from the Exclude Protection section check the option DefaultHost (nobody).
- Click on Save.
- After Uploading the data and try accessing the temporary URL.
Thus by follwing the above steps you can resolve the error cPanel temporary URL not working.
Contact your web hosting provider If you are hosted on a shared server .