Hands-on task
A site name before DNS
The shop's DNS records will only be created tomorrow, but the site has to be tested on the server today. Make the names shop.local and www.shop.local resolve to 127.0.0.1 on this machine — locally, without a DNS server. The localhost entry must stay.
- /etc/hosts
- name resolution
- getent
- nsswitch
- loopback