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 have a question. I'm using IIS 7 URL rewrite. It works fine, but now I want this:

to be:

I have no clue on how to do this. Can you help me?

Thanks in advance!

share|improve this question has a great article on rewriting urls. They also have a video for those who prefer more personal instruction.


share|improve this answer

Also there is software that allows to perform URL rewrite. We use ISAPI_Rewrite for thing like that. For more features i can suggest Helicon Ape.

The rule for your rewrite is going to be:

RewriteRule ^http://([^/]+)$ $1 [NC,R=301,L]

share|improve this answer

Your Answer


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