View Single Post
  #6  
Old 3rd January 2012, 20:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 37,015
Thanks: 840
Thanked 5,652 Times in 4,461 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