Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I have a website like so: http://website.com/path/default.html

If I go to http://website.com I get the IIS 7 Welcome screen. If I go to http://website.com I would like to be redirected to http://website.com/path/default.html

How do I go about this in IIS 7.5?

share|improve this question
add comment

1 Answer

up vote 2 down vote accepted

With a 301 redirect using your language of choice?

share|improve this answer
    
Maybe it's not called a redirect. My website is located here: website.com/path/default.html , but when users go to website.com all they get is the IIS 7 welcome screen. I would like them to get the website.com/path/default.html instead. How do I do this in IIS 7 ?? –  user72128 Oct 20 '11 at 15:57
    
Dan was right. I had to go to IIS manager > Hostname of my server > Sites > Default Web Site > choose HTTP Redirect > check Redirect requests to this destination: website.com/path/default.html then Check Redirect all requests to exact destintation and check Only redirect requests to content in this directory. Now it works perfectly. –  user72128 Oct 20 '11 at 18:01
add comment

Your Answer

 
discard

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.