Unable to create new virtual hosts using MAMP with OSX Mavericks

Posted by user2961676 on Server Fault See other posts from Server Fault or by user2961676
Published on 2013-11-06T21:37:10Z Indexed on 2013/11/06 21:56 UTC
Read the original article Hit count: 473

Filed under:
|
|

I have been using virtual hosts on my Mac with MAMP, which has worked up until now. I have 2 working virtual hosts that i created in the same manner, which still work, but for some reason I am unable to create any new virtual hosts. When i attempt to go to a newly crated virtual host in my browser it generates a 404 Not Found error. The only thing i can think of possibly after i updated OSX to Mavericks, but i'm not sure what that would have done, or why the old virtual hosts still work. See excerpt below from vhosts.conf file. So, franklin.dev works, jamiepjones.dev works, but sheilahixson.dev does not.

<VirtualHost *:80>
DocumentRoot "/Users/jamiejones/Sites/franklin"
ServerName franklin.dev
ErrorLog "logs/franlkin.dev-error_log"
CustomLog "logs/franklin.dev-access_log" common
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Users/jamiejones/Sites/jamiepjones-wp"
ServerName jamiepjones.dev
ErrorLog "logs/jamiepjones.dev-error_log"
CustomLog "logs/jamiepjones.dev-access_log" common
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/Users/jamiejones/Sites/sheilahixson”
ServerName sheilahixson.dev
ServerAlias www.sheilahixson.dev
ErrorLog "logs/sheilahixson.dev-error_log"
CustomLog "logs/sheilahixson.dev-access_log" common
</VirtualHost>

and hosts file:

127.0.0.1       localhost
255.255.255.255 broadcasthost
::1             localhost
fe80::1%lo0     localhost

127.0.0.1       jamies-MacBook-Pro.Belkin       # MAMP PRO - Do NOT remove this entry!
127.0.0.1       hixson  # MAMP PRO - Do NOT remove this entry!
127.0.0.1 franklin.dev
127.0.0.1 jamiepjones.dev
127.0.0.1 sheilahixson.dev

Please help!

© Server Fault or respective owner

Related posts about macosx

Related posts about virtualhost