Moving to a new host, or testing changes before going live? You can preview your website on the new server before you update DNS. This guide covers online preview tools and the hosts file method, so you can check everything before your domain switches over.

Why Preview Before Updating DNS?

Once DNS is updated, visitors start reaching the new server. Previewing first lets you:

  • Check pages, images and forms load correctly
  • Catch broken layouts or links before visitors see them
  • Switch over with confidence

How quickly the switch happens depends on your DNS TTL (time to live). For HostMidas migrations, we lower the TTL beforehand, so the change usually takes effect within minutes rather than hours.

Before You Start

You'll need:

  • Your domain name, for example yourdomain.co.nz
  • Your HostMidas server IP address: 114.23.116.4 (also in your hosting welcome email)

Method 1: Online Preview Tools (Works on Phones Too)

✅ SkipDNS

SkipDNS creates a preview link using your domain name and server IP. It's handy for sharing a preview with your team or web designer.

Steps:

  1. Go to https://www.skipdns.link
  2. Enter your domain and the IP 114.23.116.4
  3. Open the preview link it generates

✅ Hosts.Click

Hosts.Click works the same way, with no changes needed on your computer.

Steps:

  1. Go to https://hosts.click
  2. Enter your domain and the IP 114.23.116.4
  3. Open the preview in your browser

Good to know: these tools are run by third parties, not HostMidas. They're great for checking how your pages look, but logging in to your site (such as the WordPress dashboard), shopping carts and checkouts may not work properly in the preview. That's a limit of the preview, not your site.

Method 2: Edit Your Hosts File (Computers Only)

This tells your computer to load your domain from the new server directly. It's the most accurate preview, and logins and checkouts work normally.

Windows Instructions

  1. Open Notepad as Administrator (right-click Notepad, then Run as administrator)
  2. Open: C:\Windows\System32\drivers\etc\hosts
  3. Add this line at the bottom, using your own domain: 114.23.116.4 yourdomain.co.nz www.yourdomain.co.nz
  4. Save the file
  5. Open Command Prompt and run ipconfig /flushdns, then restart your browser

macOS Instructions

  1. Open Terminal
  2. Run: sudo nano /private/etc/hosts
  3. Add: 114.23.116.4 yourdomain.co.nz www.yourdomain.co.nz
  4. Save with Control + O, then exit with Control + X
  5. Flush DNS with: sudo killall -HUP mDNSResponder

This method doesn't work on phones or tablets. Use Method 1 for those.

Infographic showing three methods to preview a website without updating DNS: SkipDNS form, Hosts.Click form, and example hosts file edits on Mac Terminal and Windows Notepad.

⚠️ Final Notes

  • Remove the line from your hosts file once you've finished testing, so it doesn't cause confusion later.
  • You may see an SSL (padlock) warning with the hosts file method. Your SSL certificate is issued once DNS points to HostMidas, so this is expected during a preview.
  • Sharing a preview with someone else? Use Method 1. A hosts file change only affects your own computer.

Need help?

Migrating to HostMidas? We offer free migrations, AutoSSL and expert support every step of the way, and we can send you a preview link so you don't need to set anything up yourself. Feel free to contact HostMidas Support. We're here to help!

Want to see what our customers are saying? Check out our Trustpilot reviews to learn why businesses choose HostMidas for reliable hosting services.