Lets open chrome://net-internals/#dns
This looks good!
whatsmydns.net is an online service that allows you to instantly perform a DNS lookup to check a hostnames current IP Address and other DNS information against a selection of random name servers around the world. This is especially useful to check the current state of DNS propagation after making changes to your domains zones.
Hosts files are located at /private/etc/.
Edit and add our new host configuration/ip.
sudo nano /private/etc/hosts
sudo nano /etc/hosts
Flush DNS cache
sudo dscacheutil -flushcache
This way we can have www.domain.com on a server for regular users and set up our own www.domain.com pointing to another server while we set up, for example, the migration.