Asked
Updated
Viewed
1.9k 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.

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

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, eventhough 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.

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 iSS, help --> about menu selection produces this information:

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...

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

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

  • 0
    I don't know the answers to your questions, but I'm curious: it's 2021, why are you trying to set up a classic ASP development environment in Server 2003? Are you maintaining some legacy project that can't be migrated to anything more modern? — spork
  • 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

1 Answer

  • Votes
  • Oldest
  • Latest
Answered

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
0