View Single Post
  #6  
Old 3rd January 2012, 19:58
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 35,414
Thanks: 812
Thanked 5,204 Times in 4,080 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