How to set the default homepage of a website on the iis server

Source: Internet
Author: User

In the iisenvironment, there will be both the first page (index.htm,default.htm), but sometimes we may need to design indexes such as index. asp, index. php, index. aspx and other such home pages need to be modified by ourselves. The following is a reference for the modification method.

This is a page with no homepage set

1. Open iis, right-click the website, and choose "properties" from the pop-up menu, as shown in.

2. Click Properties and select a document tag, as shown in figure

3. Click Add here to write the file name you want to set.

The method is very simple. To sum up, open iis and find the site. Right-click Properties and choose document> to view the figure above, click Add and enter the file name you want to set as the homepage

Note: To access index. php by default, such as www.hzhuti.com, you must move it to the beginning.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.