Internal Domain Names

You can edit /etc/hosts/ to add domain names and which IP addresses they refer to.

Any IP address through to "loop back" to the machine itself. [x]

Apache2 listens to anything coming to the machine itself regardless of IP Address, then the configs in /etc/apache2/sites-enabled are used to decide what to do based on the domain name used.

So any domains that loop back can be used to access separate internal sites by whatever name you like.

/etc/hosts/ can only contain IP addresses that refer to the machine itself, so unfortunately you can't visit via


Popular posts from this blog

Mass File Renaming

Turn a Web Page into a Desktop Application