Host multiple domains on one server with Apache

Apache allows you to host multiple domain names from a single IP address using Virtual Hosts. I’ll show you how to edit Apaches sites-enabled file to do this. First, open the 000-default file in /etc/apache2/sites-enabled/. It should look like this: We will want to add the following section to the bottom: replacing domain.com with your domain name […]