Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How would I redirect all of the traffic from to a different server running at

I want to do a 301 permanent redirect from to, but I want to keep the blog server running on, but I want it to appear to the user that they are viewing

share|improve this question
up vote 1 down vote accepted

you must proxy the "/blog" url to the blog server.

share|improve this answer
This is indeed the only way to do it, but it should be added that usually it's a bad idea to do so. You get extra latency on each page view, and form submissions, pingbacks etc are hard to handle when proxied. – Jesper Mortensen Sep 5 '09 at 23:45

Here is an example:

Yes it seems like a bad idea though :(

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.