View Single Post
  #6  
Old 3rd January 2012, 19:58
till till is online now
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,768
Thanks: 821
Thanked 5,331 Times in 4,183 Posts
Default

The purpose of the /etc/hosts file is to override domains in DNS. So if you set the domain in the hosts file (on your desktop, not the server!), then it instructs your browser to access the server that is defined in /etc/hosts and to ignore the DNS record. Just try it, you will see then that it works for Linux, *BSD, Windows and MacOS.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
Reply With Quote