How to test or preview website in a different server

So you’ve migrated your website to a new server or web hosting provider and you want to view your website in the new server before pointing your DNS over?

There are generally three ways for you to achieve this:-

  1. Modify your computer’s host file to add a host entry for your domain to point to the new server IP.
  2. Create a test subdomain in the new server and point the A record for this subdomain to the new server IP.
  3. Ask for a temporary URL from your hosting provider.

What if there’s a better way to achieve this?

I use NFPreview which allows you to instantly preview your website from a different server before updating your DNS or host file. I used to use two other services – and – but they have either shut down or gimped their service, so NFPreview is a nice alternative to them.

Assuming that the website has been copied or migrated over to the new server, all you need to do is to provide your website address and the new server IP in NFPreview.

It will generate a custom link for you where you can preview your website from the new server instantly without any DNS or host file modifications.

What’s more, you can also share the custom link with your colleagues and clients and it’ll just work!

One thing you will want to keep in mind is the custom link generated by NFPreview is public so it can be accessed by anyone who possessed the link. If you have a top secret website that you don’t want to show to the public, this may not be a suitable tool for you.

James Lee
James Lee

James Lee, a seasoned leader with 15+ years in the tech industry, leverages his Cloud expertise to drive innovative solutions and exceptional customer experiences. He identifies growth opportunities through keen market insights and user behavior analysis, navigating the complexities of the Cloud landscape. A skilled communicator and collaborator, James thrives on exceeding expectations and leading teams to deliver impactful products.

Leave a Reply

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