Hello all
This may be a very simple question to all you Linux / Apache die-hards,
but it puzzles me for quite a few days now. What's the problem:
I'm testing a Linux / Apache server setup. If all goes well, it will be
used as our primary webserver, serving pages of a lot of our customers.
Hence I will have to use virtual hosts to do the job. I think the
easiest way (and probably the best way) is to have non-ip based virtual
hosts.
So, on my server, I configured BIND (version 4.9.3) with two extra CNAME
RR, www.virtual1.com and www.virtual2.com; both pointing to
www.bytestore.com. When I do remote DNS queries for these two aliases, I
get the www.bytestore.com IP address. So far so good (I think?)
When I edit the http.conf file, and make two <VirtualHost> ..
</VirtualHost> entries, Apache doesn't work anymore. If I only use the
REAL www server (i.e. comment out both the virhost directives), Apache
works for this one.
I'm running Apache version 1.1x with MkLinux DR2.1.
Is the Apache version not suitable? Or MkLinux DR2.1 / BIND?
Or did I make errors configuring either programm?
TIA
---