[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Apache IPv6 & Virtual Host



On Mon, 30 Jul 2001, Tim Chown wrote:

> On Mon, 30 Jul 2001, Peter Bieringer wrote:
> 
> > > Can i use like in IPv4 virtual host with the IPv6 Apache ?
> > > A IP IPv6 = many sites.
> > 
> > Why? You got about 2^46 (minus some reserved) IPv6 addresses per
> > link, sure you can configure as much as you needed on one physical
> > interface to prevent IPv6-less virtual hosting.
> > 
> > MHO: It's better to forget IPv6-less virtual hosting...it was on IPv4
> > only established because of there are too few IPv4 addresses for all
> > needed webservers.
>

what if your server is dual stack? can you also add the ipv4
address? like below:
 
> But if you want to, you can:
> 
> NameVirtualHost 3ffe:803c:0080:0200:0a00:20ff:feb5:ef1e 80

  NameVirtualHost 1.1.1.1:80

> 
> # www.domain1.com 
====> <VirtualHost 1.1.1.1:80 [3ffe:803c:0080:0200:0a00:20ff:feb5:ef1e]:80>
> ....
> ServerName www.domain1.com
> ....
> </VirtualHost>
> 
> # www.domain2.com
=====> <VirtualHost 1.1.1.1:80 [3ffe:803c:0080:0200:0a00:20ff:feb5:ef1e]:80>
> ....
> ServerName www.domain2.com
> ....
> </VirtualHost>
> 
> works on Apache 1.x
> 
> Problem of course is you're embedding IPs...
> 
> tim
> 

you may create as many ipv6 web servers as you want because ipv6 
addresses aren't limited but what if the web server (ipv4) with virtual 
hosting (around 8 sites) has existed before ipv6 existed (such as ours)? 
i tried the above configuration (apache 1.3.14), as what's written on 
README.v6, but not all sites could be browsable so i disabled ipv6 for 
the meantime. :)

carla



Reply to: