Posts Tagged ‘Website Configuration’

How to Set the Default Page of the Website

There are two ways to Set the default page of the website In IIS 7.0

1. Directly on the IIS 7.0 Manager

  1. 1. Open IIS Manager
  2. 2. Select your web site directory
  3. 3. Make sure Feature View is selected
  4. 4. On center page, under HTTP Feature select Default Document
  5. 5. Type the Default Page you want.

2. By using Web.Config file, just add to following line to your web.config file

  1. <configuration>
  2.    <system.webServer>
  3.     <defaultDocument>
  4.         <files>
  5.             <add value="index.php" />
  6.         </files>
  7.     </defaultDocument>
  8.    </system.webServer>
  9. </configuration>

Other Resources:
NetOMatrix | IIS Net

,

No Comments



SetPageWidth