5.1k times

How do I set the default "index" landing page (also known as the default content page) on a Classic ASP file?

While setting up a simple first "Hello World" style classic ASP program locally, I remember how things are set up on the server where I will eventually migrate my work to.

On the server, in IIS, when I right-click on a Web Site, I can see properties.

IIS Website Properties

And that brings up a tabbed dialog box where one of the tabs is "Documents"

IIS Document Properties Tab

So, here, clearly I can set the name of the default content page. Naturally, I want to set this up locally on my Windows 10 computer.

Now, even though I believe I have set up IIS on my side. Things do now look the same on my side. I have a windows 10 Operating System and so I expect things will look a bit differently according to style. But I am hoping the functionality will be the same? Will the functionality be the same? On my end, on my Windows 10 computer, this is what I see when I right click on my web site? I do not see anything about "Properties" which would bring up a dialog box where I can set the default content page.

Windows 10 Website Properties Missing

Please be so kind as to advise.

I know, or at least I have read online is, that classic ASP is part of IIS. So, here is the information I have gotten when I check the version of the ISS systems.

My local windows 10 IIS, help --> about menu selection produces this information:

About Internet Information Services (IIS) Manager

On the server, the IIS has two options that come up in the Help menu that I find interesting. They are "About Microsoft Management Console..." and "About Internet Information Service (IIS) Manager...

Internet Information Services (IIS) Manager Help Menu

The information dialogs that come up when clicking on these are:

About Microsoft Management Console

and so, that is all I got thus far. How to I proceed in setting up my ASP development capacity locally?

  • 0
    I know this is an older post, but just saw this for the first time. IIS 10 is not supported on Windows 2003 R2 servers. Back in the day IIS 6 was used. To support IIS 10, you'll need an updated server, preferably 2019 or later. — Mark Bowker
add a comment

1 Answer

  • Votes
  • Oldest
  • Latest

To set the default content page in IIS and ASP on Windows 10, you will need to follow these steps:

  1. Open IIS Manager. You can do this by typing "inetmgr" into the start menu search bar and clicking on the "Internet Information Services (IIS) Manager" shortcut. If that command does not work, see note below.
  2. In the left-hand pane of IIS Manager, expand the tree view for your server and navigate to the site or application for which you want to set the default content page.
  3. In the center pane, double-click on the "Default Document" icon. If you do not see that icon, see note below.
  4. In the "Default Document" window, click the "Add" button.
  5. In the "Add Default Document" window, type the name of the default content page (e.g., "default.asp") into the "Name" field and click the "OK" button.
  6. The default content page will now appear in the list of default documents. To set it as the default, select it in the list and click the "Move Up" button until it is at the top of the list.

Access Default Document settings

Set the default document for IIS in Windows 10

Note: If you attempt to run inetmgr and it says it is not found, be sure that you have also installed IIS Management Console. You will also need to ensure you have installed Default Document:

Install IIS Management Console and Default Document

add a comment