CategoryProgramming

Dynamic virtualhost for Apache httpd.conf

D

If you’re using a vps without a control panel for hosting websites, adding new websites to Apaches configuration might be a bit difficult. Dynamic VirtualHosts to the rescue! Using a simple VirtualHost command in Apache’s httpd.conf, you can have Apache use dynamic virtualhosts, meaning that Apache serves a website using the requested url. With this, opening a website for a new domain is as easy...