• Skip to primary navigation
  • Skip to main content
  • Skip to footer

WPJohnny

WordPress Performance Guides and Reviews

  • Start a WordPress site
  • Hosting
  • Themes
  • Plugins
  • Blogging
  • Marketing

DNS hosts website preview

WordPress hosting Oct 5, 2021 by Johnny 16 Comments

Simple list of ways to test a website from different servers.

  • Sick of editing your hosts file?
  • Need to compare 2 versions of your website on different servers?
  • Want to see a website function live from a domain of your choice?

Well here are some ways to get the job done.

1. Hosts preview site

There are many sites offering this server:

  • skipdns.link
  • hosts.cx (no longer working)
  • In case you ever forget these sites, search “website hosts preview” on Google.

2. GasMask

Install an app on your OS X desktop computer, and manage your hosts file with many more options. (Thanks Sridhar for this recommendation!)

  • GasMask GitHub link
  • Download link above doesn’t work so you’ll have to find another one elsewhere.
  • When using this, don’t forget to edit preferences and shorten the update interval time.

3. Edit your local computer hosts file

Simply add a line to it, with the IP and then the domain. (Basically tells your computer to look for the domain at exactly that IP instead of doing a DNS-lookup over the web.) I highly don’t recommend this method as it’s annoying. But it’s the old school way people used to do manually.

  • MAC – /etc/hosts
  • WINDOWS – c:\windows\system32\drivers\etc\hosts

Share this post:

Share on FacebookShare on X (Twitter)Share on LinkedInShare on WhatsAppShare on EmailShare on SMS

Read all my posts on WordPress hosting

About Johnny

Right on the edge of WordPress development! 10+ years of WordPress design, development, hosting, speed optimization, product advisor, marketing, monetization. I do all that.

More WordPress Guides

How to Buy a Leather Jacket in Italy

Self-Discipline – understanding the true rewards

Best WordPress Hosting Reviews (UPDATED 2025)

Best WordPress Image Compression Plugins – UPDATED 2021

ScalaHosting review – traditional shared hosting (custom panel)

Popup Domination or Not?

Reader Interactions

16 Comments

  1. Sebastian

    October 5, 2021 at 11:13 pm

    If you use something like skipdns.link how do you prevent WordPress autoredirect to login?
    I think I keep Editing my Hosts file as it’s more reliable.

    Thanks I might use it for sharing the site though.

    Reply
    • Johnny

      October 6, 2021 at 4:02 am

      I was able to get into WP admin just fine. But anyway if you like editing your local hosts file, you can try the GasMask desktop app.

      Reply
      • Sebastian

        October 7, 2021 at 1:28 am

        Thanks nano is my editor of choice 🙂

        Reply
        • Johnny

          October 7, 2021 at 8:39 am

          Hahaha

          Reply
  2. Denny

    October 6, 2021 at 8:20 am

    There’s also this one: https://github.com/specialunderwear/Hosts.prefpane

    Reply
    • Johnny

      October 11, 2021 at 7:20 pm

      Ooooh, this is probably most perfect for how I like to do it. Thank you for the suggestion!!!

      Reply
  3. Tom Robak

    October 6, 2021 at 8:42 am

    On mac I love this one (iHosts) – creating lists of hosts etc is very useful for dev

    https://apps.apple.com/app/id1102004240?mt=12

    Reply
    • Johnny

      October 7, 2021 at 8:39 am

      Thank you for this suggestion as well! This is why I love blogging and getting outside tips. You’re perfect, man!

      Reply
  4. Don

    October 28, 2021 at 10:00 am

    We are experiencing problems with both hosts.cx and skipdns.link over the past few weeks since mid-October 2021. At first I thought an issue with new browser versions and updated security for referrers, etc, but I’ve tested on older browsers as well and the problem persists, which is… for hosts.cx , no preview link is generated, and for skipdns.link , the preview link redirects to the DNS of the domain and *not* the IP specified in the tool. Anyone else experiencing this?

    Reply
    • Sascha

      November 18, 2021 at 2:41 am

      Yes, hosts.cx is dysfunctional from my point of view.
      But skipdns.link is working fine from here.

      Reply
      • Don

        November 18, 2021 at 5:12 am

        I should have replied back here since my comment above. The developer of skipdns.link fixed the issue, and yes it is working fine again. My favorite tool, as customers can easily create preview links themselves, given simple instructions.

        Reply
  5. Shuki Vaknin

    November 7, 2021 at 2:10 pm

    Hey,

    I made a similar tool, that uses different methods. if you would like to add to your list here that would be nice:
    https://hosts.click/

    Reply
    • Netcat

      December 18, 2024 at 10:19 pm

      Will second Shuki’s tool Clicks.Host.
      Great replacement for hosts.cx and works very well.

      Reply
      • Yehoshua Vaknin

        December 18, 2024 at 10:26 pm

        Thank you 👍

        Reply
  6. John @ S4

    November 15, 2021 at 5:52 pm

    On Windows, I use Hosts File Editor – https://github.com/scottlerch/HostsFileEditor

    It hasn’t been updated for years but it works perfectly well.

    Reply
    • Johnny

      November 16, 2021 at 12:11 am

      Oooooh. Thanks for this. I haven’t touched my Windows desktop machine for a while but will install it when I do.

      Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

Footer

More links

  • Gadget reviews
  • Try my free WPJ plugins
  • Join the WPJ FB Group
  • WPJ YouTube & newsletter
  • Become a WPJ Affiliate

Popular Reviews

  • Best WordPress Hosting
  • Best WordPress Themes
  • Best WordPress Plugins
  • Best WordPress Cache Plugins

Services

  • Speed optimization
  • Speed optimization courses
  • WordPress hosting
  • Hire me or other experts
  • Client login

About Johnny

10+ years of WordPress design, development, hosting, speed optimization, marketing.
Contact me.

newsletter block

Copyright 2025 | WordPress guides by Johnny Nguyen

Click to Copy