Redirect Domain Name to Localhost

Solution 1:

Add the following line to /etc/hosts:

127.0.0.1 myserver.mycompany.com