hosts.click: An Alternative to hosts.cx for Website Preview
If you used hosts.cx to preview a website before a DNS change, you need a tool that does the same job. hosts.click creates a temporary preview link for a domain and the IP address of the new server. You open the link, check the site on the new server, and switch DNS when the checks pass. Your live DNS does not change in the meantime.
Test the new server before you change DNS. Open the free preview tool
What hosts.click does
You enter two things: the domain you plan to move and the IP address of the new server. hosts.click returns a preview link on a random subdomain. Requests to that link go to the new server, and the browser sends your domain name in the Host header, so the server answers as it would after the switch. The preview guide explains the mechanism in full.
- Free links expire in 10 minutes.
- Pro keeps preview links live for days. It costs $5 a month. See the Pro page for the current plans.
- cPanel and DirectAdmin plugins add the preview step to your control panel. See the cPanel preview URL plugin and the DirectAdmin preview URL plugin.
- Shareable links. You can send a preview link to a client or a QA tester.
What to look for in a preview tool
Whichever tool you choose, check these points before you rely on it:
- Fast creation of a preview link.
- HTTPS on the preview link, so the checks match the way visitors reach the site.
- A link that lasts long enough for your review. Free links last 10 minutes. If your review takes longer, plan for a longer link.
- Control panel integration, if you move sites through cPanel or DirectAdmin.
- A clear statement of how the tool routes traffic. hosts.click sends preview traffic through its proxy. Read the preview guide for the details.
How to use hosts.click for a migration
- Enter the target domain and the IP address of the new server.
- Create the preview link.
- Check the core pages, the login, forms and assets on the preview link.
- Check the redirects, the SSL certificate and the status codes on the key pages.
- Switch DNS when the checks pass, and check the live domain.
The migration checklist generator builds a plan for your hosts, and the migration checklist guide explains each step.
Checks before you cut over
A preview shows the site as it runs on the new server. Some problems only show up after the switch, so run the same checks again on the live domain.
- Certificates. Confirm that the new server serves a valid certificate for your domain. Let's Encrypt's HTTP-01 check reaches the server that public DNS points to, so a certificate for the new server may not issue until after the switch. See the section on certificates in the preview guide.
- Redirects. Check that old URLs and the
http://tohttps://redirect return the codes you expect. The server diff tool compares the old and new servers for these checks. - Links. Check that pages link to the right host. A hard-coded old domain sends visitors back to the old server.
- Forms and callbacks. Send a test form. Check the payment and webhook addresses in each service you use.
The HTTP Host header rules explain why the preview sends your domain name. The TTL definition in RFC 1035 explains how long resolvers may keep an old answer. Check the current limits on this site before you plan a migration around them.
When hosts.click fits
hosts.click fits when:
- you need a preview that other people can open without changing their computers;
- you move sites through cPanel or DirectAdmin and want the preview in the control panel;
- you test a site on a new server before a DNS change and want the test to match the way visitors reach the site.
If you only need to test one page on one computer, the hosts file or curl --resolve may be enough. The comparison of hosts.click and editing the hosts file covers that choice.
Related guides
- How to preview a website before DNS changes
- hosts.click vs SkipDNS
- cPanel temporary URL not working? A better alternative
- How to preview a WordPress site on a new server
Sources
- RFC 9110, HTTP Semantics, section 7.2 (Host and :authority)
- RFC 1035, Domain Names: Implementation and Specification, section 3.2.1 (TTL)
- Let's Encrypt, Challenge Types
Fetched 2026-10-28, HTTP 200.
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