non www url redirect to www url on IIS

Usually when you visit to some website, you may write only the url without www. But once you hit the Enter, you may noticed that that url changed to www format.  This can be achieved by adding the rules to URL Rewrite module to IIS.

Download the modue from here and install on IIS. Now  you can see the installed URL Rewrite module.

URL Rewrite

Time to write the url rewrite… The url redirect rules can be added via IIS or web.config file which is located on IIS.

Option 1:  add the rules via UI


Opetion 2: add the rules via web.config, inside the rules tag



that’s all need to run, now you can enjoys the www url with your site 🙂

You may also like...

2 Responses

  1. Heroin rehab In New York says:

    I am regular visitor, how are you everybody? This post posted at this
    website is genuinely good.

  2. hi!,I love your writing very a lot! share we keep in touch more about your post on AOL?
    I need a specialist in this house to resolve my problem.
    Maybe that’s you! Having a look ahead to peer you.

Leave a Reply

Your email address will not be published. Required fields are marked *

%d bloggers like this: