Here is my virtualhosts section of httpd.conf:
# NameVirtualHost *
NameVirtualHost *
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
DocumentRoot /Applications/MAMP/htdocs
ServerName localhost
</VirtualHost>
# This makes sure that localhost works.
<VirtualHost 127.0.0.1:80>
DocumentRoot /Applications/MAMP/htdocs
ServerAlias *.acegamingsyndicate.test
ServerName http://www.acegamingsyndicate.test
</VirtualHost>
Unfortunately, it only works for acegamingsyndicate.test after I added that domain to my hosts file, but I can't get the wildcard subdomain rewriting to work. Do I need to add the wildcard information in my hosts file also, or just httpd.conf?