Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Name based virtual host – Apache?

Apache based host virtual
0
Posted

Name based virtual host – Apache?

0

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.

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.