cPanel Temporary URL Not Working? Here Is a Better Alternative
If you have used cPanel, you have probably seen the temporary URL feature. It generates a URL like http://server.hostname/~username/ or uses the server's IP address with the account's home directory.
Test the new server before you change DNS. Open the free preview tool
For the full method comparison, read the guide to previewing a website before DNS changes.
In theory, this lets you preview a website before DNS propagation. In practice, it almost never works correctly for modern websites.
Why cPanel Temporary URLs Break
- No HTTPS: The temporary URL does not have an SSL certificate for the server hostname. Modern browsers show security warnings, and sites that force HTTPS will not load.
- Wrong document root: The temporary URL serves from
/~username/, which changes the base path. CSS, JavaScript, and images referenced with absolute paths break. - WordPress redirect loops: WordPress stores the site URL in the database. When accessed from a different URL, it tries to redirect to the configured domain, creating an infinite loop.
- Hardcoded URLs: Any CMS or framework that generates absolute URLs will produce links pointing to the real domain, not the temporary URL.
- CDN and security plugins: Cloudflare, Sucuri, and similar services may block or redirect requests that do not come from the expected domain.
- Server hostname issues: If the server hostname does not resolve or its DNS is misconfigured, the temporary URL fails entirely.
The Right Way to Preview
Instead of fighting with cPanel's temporary URL, use a tool that sends the correct domain name in the request while routing traffic to the new server. This is exactly what hosts.click does.
When you create a preview link, the proxy sends Host: example.com in the HTTP header while connecting to the target IP. The web server sees the correct domain, serves the right virtual host, and the site behaves exactly as it would after DNS propagation.
No redirect loops. No broken paths. No SSL warnings.
Generate Preview Links From cPanel
The hosts.click cPanel plugin adds a "Preview URL" button directly inside cPanel. One click generates a preview link for any domain on the account.
For hosting providers, the WHM plugin lets you offer this feature to all customers on the server without any per-account setup.
What You Can Test With a Preview Link
- Full website rendering: Pages, images, CSS, JavaScript all load correctly.
- WordPress admin: Log in to
/wp-adminand manage content. - WooCommerce checkout: Test the full purchase flow.
- Contact forms: Verify email sending from the new server.
- SSL/HTTPS: Preview links include HTTPS automatically.
- Custom ports: Test services running on non-standard ports.
- SEO audit: Run the Website Crawler to catch broken links and metadata issues before launch.
cPanel Temporary URL vs hosts.click
| cPanel Temp URL | hosts.click | |
|---|---|---|
| HTTPS | Usually broken | Automatic |
| WordPress | Redirect loops | Works correctly |
| Shareable link | No (same issues for anyone) | Yes |
| Correct Host header | No | Yes |
| Mobile testing | No | Yes |
| SEO tools | No | Yes |
| Cost | Included in cPanel | Free (10-minute links); Pro $5/mo for longer links |
If you are a hosting provider tired of support tickets about broken temporary URLs, the hosts.click cPanel plugin replaces this pain point with a tool that actually works.
Related: SkipDNS Alternative: Free Website Preview Before DNS in 2026
Improve Preview Workflows
Use these focused guides for DNS previews and control panel integrations.
Preview Website Before DNS Changes
Step-by-step workflow for testing on the new server before you switch DNS.
Preview website before DNS changescPanel Preview URL Plugin
Install script, usage steps, and troubleshooting for cPanel-based previews.
cPanel preview URL plugin guideDirectAdmin Preview URL Plugin
Integrate preview links directly in DirectAdmin with one install command.
DirectAdmin preview URL plugin guide