I'm currently running a site that allows users to use custom domains (i.e. so instead of mysite.com/myaccount, they could have myaccount.com). They just change the A record of their domain and we then ...
I can't seem to get a wildcard vhost working on my local apache installation. My vhosts file currently has the contents below. After I edit it, I'm making sure to restart the server but have still had ...
Apache conf: how to specify subdomain in <Directory /path/to/subdomain> when using mod_vhost_alias for wildcard virtual hosts
To start with, we wanted a request to *.example.com to be handled by a corresponding /var/www/*/ directory, and we have got this working by using mod_vhost_alias with VirtualDocumentRoot, as follows: ...