Some cPanel servers provide a temporary website address through Apache mod_userdir. If it fails, check whether the server and application support this feature before changing server-wide modules or security settings.
Check the address
A typical address is:
http://SERVER_IP/~CPANEL_USERNAME/Replace both placeholders. The tilde before the username is required. Use the hostname, protocol and address supplied by the administrator, since HTTPS certificate and virtual-host behaviour can differ.
Check server compatibility
An administrator should review WHM > Security Center > Apache mod_userdir Tweak and the website’s PHP handler. PHP-FPM and some Apache modules or protection settings are incompatible with this type of access.
Do not disable mod_userdir protection for the whole server or change every website’s PHP handler to repair one preview link. An application may also redirect to its configured domain or require domain-based paths, even when the temporary address works for static files.
Preview through the real domain
Where mod_userdir is unsupported, use a local hosts-file entry to point the site’s actual hostname to the new server’s IP on your own device. This preserves normal domain-based routing without changing public DNS.
Check that the destination serves the correct hostname and has a suitable HTTPS certificate. Remove the temporary hosts entry after testing. Ask support for the intended preview method if server settings are outside your access.