Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Changing Windows Hosting Account's Default File

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 311
    Comment on it

    If you want to make your website's default file you can do this by using Windows hosting accounts running IIS 7, hence you only have to specify your website's default file using a web.config file.

    To change your website's default file, include the following code in your web.config file:

    <configuration>
       <system.webServer>
          <defaultDocument enabled="true">
             <files>
                <add value="home.aspx" />
             </files>
          </defaultDocument>
       </system.webServer>
    </configuration> 
    

    Note: here home.aspx is the name of the file you want to use.

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: