Ask questions via twitter! Message any question to @answers on twitter. We'll publish the question and send you a reply each time there's a new answer.
Next Question

Answered Question

 
 M¢25  Funded By Mahalo ? |  June 08, 2009 03:32 PM

How to redirect "non www" url to "www" url on a IIS web server?

I can't find the right way of redirecting "non www" to "www" pages on my IIS server. Meaning if someone type htxp://mysite.com it will convert the url into htxp://www.mysite.com
How do you precisely to the redirect.

Beware: This is not a question about apache BUT about IIS web servers!

A few info about my web server:

Server: Microsoft-IIS/6.0
X-Powered-By: ASP.NET
X-AspNet-Version: 2.0.50727
CMS Kentico
Interesting Question?  Yes (0)   No (0)   
RSS
 
 

Best Answer  Chosen by Asker

 
June 08, 2009 04:07 PM
You need to implement a 301 redirect:

Inside “Internet Services Manager” click with the right button of the
mouse on the file or folder you want to redirect.
Select “a redirection to an url”
Type the destination page of the redirect.
Select “The exact url entered above” and “A permanente redirection
for this resource”.
Click “apply”.
Asker's Rating:


Helpful Answer?  (0)   (0)    Tip onek for this answer
Permalink | Report
   Reply  
 
 
 
June 08, 2009 09:36 PM
In my case the goal is to redirect all NON WWW to WWW urls. How can I list "any" "non www" to redirect to "any" "www" urls in Internet Services Manager?

Report
 
 
 
June 09, 2009 03:15 PM
Thanks for the url. It's clearly the best answer ;)

Report
 
 

Answer this Question

How tips and payments work

This question has already been resolved. You may add an answer to it but you will not be eligible to win best answer or any associated tips.

Ask a Question


140 characters left
Top of Page
Buy Mahalo Dollars with Credit Card or PayPal

Top Members

This Week All Time
  • buddawiggi
    buddawiggi
    2nd Degree Black Belt
    26710 Points
    M$774.34 Earned
  • kty2777
    kty2777
    Purple Belt with a Brown Tip
    5216 Points
    M$196.67 Earned
  • opher
    opher
    Purple Belt
    3852 Points
    M$152.92 Earned
   See All
 

Most Popular Tags

mahalo(1563)
iphone(459)
music(458)
google(346)
food(310)
online(286)
beer(276)
money(260)
movies(249)
apple(249)
aotd(235)
health(217)
video(200)
free(200)
dog(200)
   See All
 

Categories

Welcome New Members


 
 
Mahalo Dollars are the currency of Mahalo Answers.

Each Mahalo Dollar costs $1.

Once you earn more than 40 Mahalo Dollars, you can request to be paid via PayPal. Each Mahalo Dollar is currently worth $0.75 when paid out via PayPal. Learn More

 
 

Please log in to use this function.