A default homepage is the default page that appears when one visits a website file directory.
Note the following when you set a default homepage:
If you want to add several defualt homepages, the higher a default homepage is placed in the sequence, the higher execution priority it has. Therefore, adjust the order according to your needs.
Only one dynanmic file name (xxx.php) can be added, and all the files under the dynanmic name in the sequence can not be recognized and executed. Therefore, when you add a dynanmic file name, its priority must be lower than that of static files.
Log on to the Web Hosting console.
On the Host List page, locate the target instance.
Click Manage to open the Instance Details page.
In the left-side navigation pane, select Environment Settings > Default Homepage Settings.
On the Default Homepage page, enter the homepage file name, and click Add.
After you add all the homepage files, click Save.
- If you want to remove a defaut homepage name, select the name and click × button, and then click Save.
- If you want to modify a defaut homepage name, select the name, and click button. After you modify the name, click √ button, and then click Save.