Sample Header Ad - 728x90

Webserver /etc/hosts file questions

0 votes
1 answer
282 views
I know that the hostname of the server should be listed in the /etc/hosts file.
198.51.100.1 server1.example.com server1
Do I also need to list every domain hosted on the server within the /etc/hosts file as well in the same format?
Asked by Dwyer (1 rep)
Jul 22, 2022, 09:52 AM
Last activity: Oct 30, 2024, 06:30 PM