add to hosts file

  • JeremyReynolds
  • 06/20/07
  • Offline
Posted: Wed, 2007-04-18 21:23

My sites are on the same IP as my internet connection. This means the server can not access it's own websites as the firewall won't allow outgoing and incoming connections.

Therefore, I need to add each domain to the /etc/hosts file so the server knows it can find the site on its own internal IP.

It would be great if VM had the option of automatically adding new domains to the hosts file with the internal IP.