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 am publishing my .net website on my domain it is showing the directory of files when i open my site ..

anyone please tell me how to avoid this and make my website open mu home page .

share|improve this question

migrated from stackoverflow.com Jan 31 '10 at 10:44

This question came from our site for professional and enthusiast programmers.

1 Answer 1

You have to setup the default document to be Default.aspx or whatever is your start page. If you are using IIS, take a look at this or something similar ;)

share|improve this answer
    
You may want to turn off 'Directory Browsing' as well so that no one can see your file system. –  E.Z. Hart Jan 29 '10 at 19:56

Your Answer

 
discard

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