On Sat, 2005-09-17 at 01:13, Roger B.A. Klorese wrote:
> Jamie Cameron wrote:
>
> >Ah, I see .. Unfortunately, that kind of setup is not yet supported. However, it may be in future, since it seems quite common.
> >
> >I do have a question though - what is the advantage of using several different IPs for name-based virtual hosting, rather than a single IP?
> >
> >
> >
>
>
> Legacy reasons. We're merging smaller servers onto one larger one, and
> since we don't control all of our users' DNS, it's easier just to not
> change it.
Ah, I see .. that makes sense now.
Actually, you may be able to support this configuration in Virtualmin
already, if you are talking about a server that has the DNS hosted
elsewhere. Because the apache virtualhosts that virtualmin creates are
like :
<VirtualHost *>
ServerName www.foo.com
All you would need to do is add a directive to httpd.conf like :
NameVirtualHost 1.2.3.4
where 1.2.3.4 is the IP that www.foo.com resolves too. Even though
virtualmin thinks that the IP for the foo.com server is the main IP for
your system, the website will still work.
- Jamie
|