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: http://www.homeserver.com/hi/ actually redirects the user to http://www.google.com

link|improve this question
feedback

2 Answers

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

link|improve this answer
feedback

Make this your default document..

<html>
<head>
<meta http-equiv="REFRESH" content="0;url=http://gohereinstead.com">
</HEAD>
</html>
link|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. – ErikA Jun 25 '10 at 4:46
feedback

Your Answer

 
or
required, but never shown

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