I finally got it to work. I changed the virtual host entries back to this:
<VirtualHost www.a.com>;
DocumentRoot /u/apache/a
ServerName www.a.com
# more stuff
</VirtualHost>
<VirtualHost www.b.com>;
DocumentRoof /u/apache/b
ServerName www.b.com
# more stuff...
Thanks for responding. I've tried 10.10.10.2. I've tried *. I've tried setting VirtualHost to *. Nothing I have tried has worked.
I did a google search and found dozens of threads on the topic posted the last couple of years, but not one solution. Apparently, this is a very common problem...
I have reveiwed the suggestions in the FAQ as well as other threads, and I still can't get Virtual Hosting to work behind this new DSL router. I have defined two virtual hosts, and it always defaults to the first virtual host. Any ideas?
Is it possible to support multiple websites with unique domains using one IP address? Perhaps I was misuing Apache, but I had this working with a DSL bridge router. We have recently upgraded to a DSL router that uses NAT (Network Address Translation), and the old solution no longer works. The...
I isolated the problem. I am using VirtualHost to map several domains (e.g. www.a.com, www.b.com) to one IP address. This worked fine when the router was a bridge, but no longer works now that the router uses NAT. Apparently, Apache uses DNS lookup to ensure the IP address is correct, but...
> Then forward all http (port 80) traffic to your server's ip.
Thanks. It appears from the log messages that the domain name is being stripped from the GET request. In other words, the GET message includes the web page, but not the domain name. Thus, the Apache server can not resolve which...
An older Flowpoint DSL router has been replaced with a new Efficient Networks DSL router that uses Network Address Translation (NAT) and the Apache webserver no longer works properly. The NAT translates the external IP address to an internal IP address, and I'm not sure how to configure...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.