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

I'm not sure if this is called "redirecting" but what I'm trying to do is set up a web server to automatically forward one address to another.

For example: actually redirects the user to

share|improve this question

It is. httpd has the Redirect directive for simple cases like this, or you can use mod_rewrite if you need something more complex.

share|improve this answer

Make this your default document..

<meta http-equiv="REFRESH" content="0;url=">
share|improve this answer
Techinically speaking, this solution would work. It's not the most desirable, though, due to needing to maintain a DocumentRoot and single html file for the vhost. Ignacio's solution above does not require a DocumentRoot. – EEAA Jun 25 '10 at 4:46

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.