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.

When i write http://www.spotagel.com it redirects to http://www.spotagel.com/default.aspx, i tried some method to stop this, but they casued infinite loops. how can i do this without infinite loops

share|improve this question
    
For future reference it would be helpful for those tying to help you if you stated what methods you've tried to rectify a problem. This will help people get a better understanding of your problem, and helps you get better information. –  DKNUCKLES Aug 17 '11 at 13:41

1 Answer 1

IIS isn't redirecting to default.aspx, IIS is being told that default.aspx is the preferred page to load first. To change this you need to change the default document property of the webpage you're working with.

See : http://www.iis.net/ConfigReference/system.webServer/defaultDocument

share|improve this answer
    
for example when you type winhost.com ( it is also a as.net driven when you look at source) there is no change on adress bar occurs , i mean no cahnge to winhost.com/default.aspx o r whatever is default document –  umitcel Aug 17 '11 at 20:47

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.