[olug] DNS & NAT examples needed
Sam Tetherow
tetherow at shwisp.net
Fri Jan 2 06:23:31 UTC 2009
The original request said that the webservers would be running on
seperate machines hence the proposed rewrite solution. If they are on
the same machine then yes, much easier to handle with virtual hosting.
Sam Tetherow
Sandhills Wireless
Brian Roberson wrote:
> 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
>>
>
> _______________________________________________
> OLUG mailing list
> OLUG at olug.org
> https://lists.olug.org/mailman/listinfo/olug
>
More information about the OLUG
mailing list