The Website Previewer

Blog

cPanel Temporary URL Not Working? Here Is a Better Alternative

March 13, 2026
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-admin and 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 URLhosts.click
HTTPSUsually brokenAutomatic
WordPressRedirect loopsWorks correctly
Shareable linkNo (same issues for anyone)Yes
Correct Host headerNoYes
Mobile testingNoYes
SEO toolsNoYes
CostIncluded in cPanelFree (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.

Try it free

Related: SkipDNS Alternative: Free Website Preview Before DNS in 2026

Related Guides

Improve Preview Workflows

Use these focused guides for DNS previews and control panel integrations.

Toggle navigation