A FQDN is a public name that you use generally from outside your lan. It is a way to access by name an IP address in the web. Hosts file is generally a way to have a lan client look up a name to ip.
So, if you want to host many web sites on a single server that has only one IP address then the normal way is to use host headers to direct to internal pages. Make a default page for older web browsers to direct to local.
Possible to use ip with ports too.
|