In a previous post, I talked about an Apache module called mod_vhost_alias and the benefits it could have. A commenter posed a question:
Would you mind posting a full example of the vhost that you’re using for context? Additionally, what settings are you using in httpd.conf for things like DocumentRoot, ServerName, etc.
Here is the minimum configuration you would need to include in your httpd.conf file to get vhost aliasing to work. (more…)
Apache has the ability to serve multiple web sites of different domains on the same physical server using the same installation of Apache. It does this by using virtual hosts either by using the host header or IP address to select the path of the files to server. In this article, I will highlight an Apache Module called mod_vhost_alias, which allows for dynamically configured virtual hosting. (more…)