In this hands-on lab, you are tasked with establishing local resolution for a domain name, to permit localized application testing.
Successfully complete this lab by achieving the following learning objectives:
- Verify the contents and order of /etc/nsswitch.conf.
You’ll want to verify that
hosts, in the
- Modify /etc/hosts to include www.example.com.
You will need to modify
www.example.comto your local IP. Use your local IP:
- Verify that you can now connect to the locally running webserver at www.example.com.
You should get the same output if you