Hi folks,
I recently read about Apache virtual host and was able to configure that as well. I used name based virtual host (lets say
http://vhost1.example.com) and it worked just fine. Then I configured another named based virtual host on same apache server (lets say
http://vhost2.example.com) and that worked too (ONLY after disabling first one i.e. vhost1). Otherwise it was showing homepage of first virtual host, if I dont disable the first virtual server.
My initial understanding says that there can be multiple active virtual hosts (name based) - but that doesn't seem to be the case. I know and learnt about precedence also and according to that first virtual web server will be default webserver.
My quesion is - how to enable all name based virtual hosts & is that even possible? If yes, could someone please provide a same config?
Cheers.