The temporary URL is used when your domain name is in the propagation period, when you’ve just migrated from a different hosting provider or uploaded a test page to see how it looks on the web before you switch DNS.
You can enable/disable using Apache’s mod_userdir option available in WHM.
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.
We will now see how you can enable/disable it from WHM.
STEP 1: Log in into WHM. Make sure you have root access to the server.
STEP 2: Now navigate to “Security Center >> Apache mod_userdir Tweak“
STEP 3: To prevent mod_userdir access click the Enable mod_userdir Protection checkbox at the top of the list. You may select any domains that you want to exclude.
STEP 4: Then click Save button at the bottom of the page.