We can set a temporary URL on cPanel. It helps to check and verify your website is working properly before you point the domain to cPanel.
1. Log in to your WHM Panel.
2. Go to the Security Center >> Apache mod_userdir Tweak.
3. Check the Enable mod_userdir Protection and click the Save button to enable the temporary URL on cPanel.