How to Enable Temporary URL in WHM?

Posted on March 30th, 2017

The temporary URL is used when the domain is in DNS propagation period. If you have just migrated your website from a different hosting provider, you may need to enable a temporary URL to verify if your site works before switching nameservers.  Apache’s mod_userdir allows users to view their sites by entering their server hostname followed by a tilde (~) and the website owner’s username.



To enable temporary URL, do the following steps.

1) Login to WHM.

2) Navigate to ‘Security Center’.

Temporary URL


3) Click on the icon ‘Apache mod_userdir Tweak’.

Temporary URL


4) Uncheck the option ‘Enable mod_userdir Protection if you want to enable a temporary URL.

Temporary URL


Enabling the protection means disabling access to http://server/~username. If you want to allow access to ~username, disable the protection.


5) You can enable by user account. In this case, you need to check the checkbox near the user account in the given list.

Temporary URL


6) Click on the ‘Save’ button.

Temporary URL



If you need any further help please contact our support department.



2 Responses to “How to Enable Temporary URL in WHM?”

  1. eric says:

    Need to specify what goes in servername. Servername is still being propagated so you can’t use that.

  2. Abhi says:

    It worked for me for HTML files. But when I run .php files it shows me ‘Not supported’ Any ideas how this can be fixed?

Leave a Reply