If you’re a web developer and you can only get the first Virtual Host to work in your new Apache 2 local setup, it’s very simple to resolve.
Thanks to Alex King for the solution to fix Apache 2 only serving the first virtual host.
Basically the NameVirtualHost must match the value you use in your virtual host declaration, be it *, 126.96.36.199 or example.local
NameVirtualHost * <VirtualHost *> </VirtualHost>
You get the gist.
[carousel keywords=”mac web development” tag=”fetchit-21″]