How to Check Domain Propagation Using Temporary URL and Hosts File Method

Introduction

Before updating DNS during a website migration, you can verify whether the website is loading correctly from the new server using a temporary URL or the hosts file method.

Prerequisites

Before checking domain propagation, ensure:

  • Website files and databases are migrated to the new server
  • New server IP address is available
  • Access to edit the local hosts file on your computer
  • Browser cache cleared after making hosts file changes
  • Basic knowledge of DNS and website migration processes

Implementation

Method 1: Using Temporary URL

You can access the website using the temporary URL:

http://111.118.173.210/~buy13340

Note

This method may have some limitations:

  • Website may not load properly
  • CSS/images may not appear correctly
  • Database connections may fail

Add the following line to your local hosts file:

111.118.173.210 buynsave.com.au www.buynsave.com.au

Here:

  • 111.118.173.210 = New server IP
  • buynsave.com.au = Domain name

Hosts File Location

Linux / UNIX

/etc/hosts

Windows

C:\Windows\System32\drivers\etc\hosts

macOS

/private/etc/hosts

Verification

After saving the hosts file, open:

http://buynsave.com.au

To confirm the website is loading from the new server:

ping buynsave.com.au

If it resolves to the new server IP, then the site is loading from the new server.

Conclusion

The hosts file method is the recommended way to test a migrated website before DNS propagation. It allows you to verify the website directly from the new server without affecting public visitors.

admin

Our team has expertise across software and web development, WordPress, e-commerce, mobile applications, UI/UX, cloud and infrastructure, DevOps, CI/CD, API integration, security, testing, automation, and technical support. The team also works with AI-based software solutions, LLMs, AI workflows, AI agents, and intelligent application development to help businesses automate processes and build smarter digital solutions. We focus on developing, deploying, maintaining, and optimising secure, scalable, and reliable technology solutions while helping businesses adopt modern technologies and drive digital transformation.

Leave a Reply

Scroll to Top