Setting up a web site on local machine using IIS

You can use IIS to run a Classic ASP site on your local Windows computer. The exact IIS Manager screens vary by Windows and IIS version, but the core setup is the same: create or select a site, point it to a physical folder, enable Classic ASP, and request the site through IIS.

Test your local site

<%@ Language=VBScript %>
<% Response.Write "Local IIS page loaded" %>

Request this file through the site binding rather than opening it directly from your file manager.

On this page — Show page sectionsHide page sections

1. Prepare the site folder

Keep your ASP, HTML, CSS, images, and related files in a folder that the IIS application pool identity can read. You can use the default IIS content folder or another folder configured as the site's physical path.

2. Open IIS Manager

Historical IIS site property screen

Open Internet Information Services (IIS) Manager. Select an existing site such as Default Web Site, or create a separate site/application for your tutorial files.

3. Set the physical path and ASP feature

Point the site/application to your content folder and confirm that the Classic ASP feature is enabled. Older IIS versions exposed these settings through different property dialogs; the screenshot on this page is retained as a historical reference.

4. Request the site through IIS

Historical IIS physical path configuration

For a default local HTTP binding, use http://localhost/ or http://127.0.0.1/. For example, a page named test.asp can normally be requested as http://localhost/test.asp. Use HTTPS only after you have configured an HTTPS binding and certificate in IIS.

If no file name is supplied, IIS uses the site's configured default-document list.

Next: review the Classic ASP feature/handler setup, then create your first ASP page.

Local-site checklist

Confirm the site binding, site folder, file permissions, ASP handler and default document. Use http://localhost/ only if the configured binding actually serves that site.

Back to top ↑


ASP Home






✖
We use cookies to improve your browsing experience. . Learn more
HTML MySQL PHP JavaScript ASP Photoshop Articles Contact us
© 2000-2026 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer