Name based virtual host – Apache?
I am running Red Hat with Apache v.2. I am trying to set up my machine to host my club website as well as my family website. I’ve gone through the Apache site to try and get it running but to no luck. Has anybody done this before who can help me get this set up and running? I’ve got the code available if you wan to look at it – everything compiles correctly and I have the service running, I just get a file not found error when I set it up as a virtual host. If I have it set with just one website (no virtual hosting) it does exactly what it is supposed to do. You need to do a couple things – first you need to set your NameVirtualHost line (all this is in your httpd.conf): NameVirtualHost xx.xx.xx.xx:80 Make you have it set to the ip addr of your server.