Re: Multiple web servers hosting different sites behind single public IP (all listening on port 80)?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Daniel Ouellet
Date: Thursday, July 1, 2010 - 5:21 pm

> I can port-map to the various servers just fine (ie: abc.com:8080,

Can you give me a bit more details as to what you really want to do.

- Look to me if I understand you right, it's pretty simple. All your 
servers would have the same content and you spread the load between them.

- And you try to have coolstuff.abc.com redirected to your web server 
directory at abc.com/coolstuff?

If so, that's pretty easy to do and rewrite module in httpd does do that 
for you.

I do that all the time!

Working live example if you need to see it to know and understand my 
question to you.

example

http://wheredoyoufit.org

will redirect you to

http://typology.people-press.org/

Or an other example redirecting oyu inside a sub directory of a site 
like this:

http://pandemicfluandyou.org

will redirect you inside a sub directory here:

http://healthyamericans.org/pandemic-flu/

Is that what you try to do?

If not, I do not follow your question.

Or if so, you sure can use relayd, but no need for it really.

You may even redirect your various URL to different port too if that 
makes your life easier and then in pf, you redirect them to a specific 
server at all times.

There is many solutions, but what is the problem you try to address. 
Sorry if I am tick, but that's what I understood from your question.

Best,

Daniel
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: Multiple web servers hosting different sites behind si ..., Daniel Ouellet, (Thu Jul 1, 5:21 pm)