[olug] DNS & NAT examples needed

Brian Roberson roberson at olug.org
Fri Jan 2 06:12:21 UTC 2009


This is all much easier than it is being laid out here. The only service 
that would require additional dedicated IP
addresses (or ports) would be HTTPS. you can simply use name based 
virtual hosting[1] for your web traffic (forget
all that re-write mojo) and a smarthost for the mail (if you need to 
relay to another machine per-se) you can also
do this in a load-balanced fashion using LVS[2].


[1] * old documenttion, but relevant regardless of your weeb server 
software* - http://httpd.apache.org/docs/1.3/vhosts/name-based.html
[2] http://www.linuxvirtualserver.org/





Sam Tetherow wrote:
> Actually with one external IP address hosting several domains across 
> multiple (virtual) machines you are going to have other issues.
>
> Unless you want to advertise all of your web servers as 
> http://www.domain1.com:8080/ and http://www.domain2.com:8081/ etc you 
> are going to need to set up some sort of proxy redirect.
>
> With apache you can use rewrite rules based on the request URL so you 
> could have a front-end apache server where all http traffic is sent and 
> it will use mod_proxy/mod_rewrite to get things where they need to go.
>
> DNS you will want to just run one server for all domains, no point in 
> have a seperate DNS server for each domain.
>
> For email you will need to again have a single SMTP server running on 




More information about the OLUG mailing list