All Products
Search
Document Center

“No input file specified" error message when you try to open a subpage

Last Updated: Apr 02, 2018

When you visit a subpage of your website, you may receive an error message that resembles No input file specified. This may be caused by:

Lack of subpage file names

If the subpage file name is not added to the default homepage list, the subpage cannot be visited.

Resolution

  1. Log on to the Web Hosting console.

  2. On the Host List page, locate the host instance in the host list.

  3. Click Manage to open the Instance Details page.

  4. In the left-side navigation pane, select Environment Settings>Default Homepage Settings.

  5. Input the subpage file name, click Add, and then click Submit. For example, the subpage file name is index.htm.

    Add subpage file names

Wrong file name order

You have added the homepage file name and subpage file names in the default homepage list, but you still failed to visit website subpages. In the context of this sort, check if you have added dynamic file name in the default homepage list, such as index.php.

In the default homepage list, only one dynamic file name can be recognized. In addition, the file names behind the dynamic file name cannot be recognized. For example, the order of the website files is:

Wrong file name order

As the subpage file name (index.htm) is behind the dynamic file name (index.php), the subpage file name cannot be recognized. As a result, the subpage cannot be visit.

Resolution

Place the dynamic file name at the bottom of the default homepage list, so it won’t affect the recognition of subpage files. In this example, the right order is:

Correct file name order