How to add a hosts file entry to test a website locally without DNS

Published: 22 August 2021
on channel: HostSailor
236
2

In some situations like after the migration of a website from one host to another, we may need to access and test the website before changing the DNS to make sure that everything is in place on the new location. We are using the 'hosts' file to map the domain name to an IP address from the local machine. Here I am providing the steps to do it on Linux as well as Windows-based systems.

Check the tutorial from here https://bit.ly/3rZiq6K


Watch video How to add a hosts file entry to test a website locally without DNS online without registration, duration hours minute second in high quality. This video was added by user HostSailor 22 August 2021, don't forget to share it with your friends and acquaintances, it has been viewed on our site 236 once and liked it 2 people.