Here is an example httpd config I'm currently using:
<VirtualHost 22.214.171.124:80> ServerName mysite.com ServerAlias www.mysite.com DocumentRoot /home/folder </VirtualHost>
I'm wondering, is it possible to have a wildcard for the ServerName & ServerAlias variable?
Reason for asking is I have some software that is shared among multiple URL's all controlled in a CMS and it's kind of a pain to add new domains via ssh everytimee. And before someone points out a security hole, the software does check the current URL before doing any webpages :)