What should the httpd.conf file look like to get virtual hosts setup? Here is what I have:
- Code: Select all
<VirtualHost *:80>
ServerName www.straightfromthestudio.dev
ServerAlias straightfromthestudio.dev *.straightfromthestudio.dev
DocumentRoot /Volumes/Emily/Sites/straightfromthestudio/straightfromthestudio.com
</VirtualHost>
When I added this, I lost access to localhost, and visiting straightfromthestudio.dev does nothing.