Thursday, November 17, 2011

How to make default page for a site in IIS 7.0

Hi All
Though it seems simple, just wanted to share how to make a default page for IIS 7.0
Generally many applications may display login page as default, in some cases some other pages. So let see how can we do this in IIS 7.0

1) Run -> inetmgr  (It opens IIS settings)
2) Go to your site (application which is hosted / application / folder) on selection of your site,
    you can see options to view the settings at bottom side with 'Features View' and  'Content View'  select the 
    'Features View', here we go, under IIS section we have an option of  'Default Document' , it will allow us to 
     add us the page name which you want to display. And also it allows us to add many pages also and lists all pages which are added. So top one page is the default page which will display when you access the site.
And also it provides couple of actions to move up and down the already added default pages based on our requirement.  Just select the page you can see the 'Actions' window which has the options will allow us to do.


Thanks,
Ravi

No comments:

Post a Comment