httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "John Dickson" <apa...@miwire.com>
Subject Re: [users@httpd] mapping a public domain name to a private ip
Date Thu, 12 Aug 2004 02:57:23 GMT
I'm guessing BIND to your IP's with poss. multiple instances of httpd parents.

"Gustavo A. Baratto" <gbaratto@superb.net> wrote ..
> Hey guys,
> 
> maybe you can help me get out of this puzzle...
> 
> I want to map many domain names sharing the same public ip address (1.2.3.4)
> like:
> 
> site.abc.com
> site.def.net
> site.xyz.org
> 
> to a single an unique internal ip address:
> site.abc.com -> 192.168.0.2
> site.def.net -> 192.168.0.3
> site.xyz.org -> 192.168.0.4
> 
> 
> I could do that with many <virtualhosts> on the public side. The problem
> is that there will be waaay to many domains (thousands),  and I don't want
> to run out of memory. Plus I would need to restart apache evertyme a site
> is added or deleted.
> 
> before someone asks I'm doing this because I want to have control over
> the bandwidth in the kernel level (using pf, ipfw, etc), so I need the
> requests to each domain to be mapped to a unique internal ip.
> 
> Any idea is greatly apreciated.
> 
> thanks ;)


Mime
View raw message