Use a web address in DNS for a local web server
Access the full course ➤ https://davehollingworth.net/localhosty
Part of the course “Set up a localhost Web Server for Faster Website Development”.
You can create virtual hosts with web addresses that you add to the hosts file, or you can also use a web address in DNS for this.
You just need a DNS entry that points to 127.0.0.1. There are several existing web addresses that already point to this IP address that you can use without having to change anything in DNS.
by Dave Hollingworth
windows server dns