Redirect url to another server

Hello,

Is there a way to serve my content from two different apache servers?

For example http://www.example.com from server1 and http://www.example.com/directory2 from server2.

Can that be done?

Thank you.

2 Replies

If your primary server will serve as a proxy for the other server on that second directory, then yes. Otherwise, I suggest you read the following thread, as I believe your issue is related:

http://forum.linode.com/viewtopic.php?f=10&t=9148

Thank you, but the thread is about nginx.

How would that be with the proxy? Any examples?

Reply

Please enter an answer
Tips:

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (https://www.google.com)

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct