Atlantic.Net Blog

How to Build a Static Website on IIS using Windows Server 2012

Jose Velazquez
by Atlantic.Net (71posts) under HIPAA Compliant Hosting
Verified and Tested 03/27/2015


In this How-To, we will walk you through Building a Static Website on IIS Windows Server 2012.

Static content is considered to be HTML files.  These types of files have no movement and hardly change such as pictures or text documents.


– A Server with Windows Server 2012.

– Internet Information Services(IIS) installed on your server. If you need to install IIS, follow our guide Install IIS On Windows Server 2012 R2.

Build a Static Website on IIS using Windows Server 2012

Open Server Manager, and select IIS, right click your server and select Internet Information Services (IIS) Manager.

Open Internet Information Services (IIS) Manager

Internet Information Services (IIS) Manager


In the Connections pane, right-click the Sites node in the tree, and then click Add Website.

Open IIS, under Sites, select Add Website

IIS: Add website

In the Add Website dialog box, enter a friendly name for your website in the Site name box.

If you want to select a different application pool than the one listed in the Application Pool box, click Select. In the Select Application Pool dialog box, select an application pool from the Application Pool list and then click OK.

In the Physical path box, enter the physical path of the website’s folder, or click the browse button () to navigate the file system to find the folder. (Note: It is best to make a folder in your C: specifically for your websites. I have named mine www)

If the physical path that you entered in the previous step is to a remote share, click Connect as to specify credentials that have permission to access the path. If you do not use specific credentials, select the Application user (pass-through authentication) option in the Connect As dialog box.

Select the protocol for the website from the Type list.

If you must specify a static IP address for the website (by default, this is set to All Unassigned), enter the IP address in the IP address box.

Enter a port number in the Port text box.

Optionally, enter a host header name for the website in the Host Header box.

If you do not have to make any changes to the site, and you want the website to be immediately available, select the Start Website immediately check box.

Click OK.

Fill in your site information accordingly.

Add Website Form

In Features View of IIS Manager, double-click Authentication.

Select your websites domain name and select Authentication

Website Authentication

Select Anonymous Authentication/right click and select Edit to set the security principal (user credentials) under which anonymous users will connect to the site.

Edit Anonymous Authentication

Edit Anonymous Authentication

In the Edit Anonymous Authentication Credentials dialog box, select one of the following options:

If you want to configure a specific user account that IIS uses to access your site or application, select Specific user. Then click Set to open the Set Credentials dialog box, and enter a user name and password for the identity. Then click OK.

If you want IIS processes to run by using the account that is currently specified on the property page for the application pool, select Application pool identity. By default, this identity is the IUSR account.

(Recommended: Change the default IUSR account to your username. If you leave it set to IUSR, you grant anonymous users all the internal network access associated with that account)

Click OK to close the Edit Anonymous Authentication Credentials dialog box.

Fill in your credentials

Credentials Form

In Features View of IIS Manager, double-click Default Document.

Default Document

Default Document

In the Actions pane, click Add.

In the Name box, enter the file name that you want to add to the list of default documents and then click OK. This file name is added to the top of the default document list.

Optionally, select a default document in the list and in the Actions pane, click Move Up or Move Down to change the file’s precedence.

Optionally, select a default document in the list, and in the Actions pane, click Remove to remove any file names that you do not want to use as default documents.

Default Document

Default Document

In Features View of IIS Manager, double-click Compression.

Under your website domain name, select compression

Configure compression

Select Enable static content compression to configure IIS to compress static content/ Then click Apply

Place a checkmark next to Enable staic content compression

Static Content Compression

You can now test your site by doing the following: Click on your site / in the Action pane select Browse *:80 (http)

In the action pane of your website, select Browse *:80(http)

View your website

Congratulations! You have just Built a Static Site on IIS Windows Server 2012. Thank you for following along in this How-To and check back with us for new updates soon.

As part of making your website HIPAA-compliant, we recommend you read more about our HIPAA-Compliant Hosting.

Start Your HIPAA Project with a Free Fully Audited HIPAA Platform Trial!

HIPAA Compliant Compute & Storage, Encrypted VPN, Security Firewall, BAA, Offsite Backups, Disaster Recovery, & More!

Start My Free Trial

Looking for HIPAA Compliant Hosting?

We Can Help with a Free Assessment.

  • IT Architecture Design, Security, & Guidance.
  • Flexible Private, Public, & Hybrid Hosting.
  • 24x7x365 Security, Support, & Monitoring.
Contact Us Now!
Stevie Gold Award Med Tech Award

SOC Audit HIPAA Audit HITECH Audit

Case Studies

White Papers


HIPAA Partners

Recent Posts

Get started with 12 months of free cloud VPS hosting

Free Tier includes:
G2.1GB Cloud VPS Server Free to Use for One Year
50 GB of Block Storage Free to Use for One Year
50 GB of Snapshots Free to Use for One Year

New York, NY

100 Delawanna Ave, Suite 1

Clifton, NJ 07014

United States

San Francisco, CA

2820 Northwestern Pkwy,

Santa Clara, CA 95051

United States

Dallas, TX

2323 Bryan Street,

Dallas, Texas 75201

United States

Ashburn, VA

1807 Michael Faraday Ct,

Reston, VA 20190

United States

Orlando, FL

440 W Kennedy Blvd, Suite 3

Orlando, FL 32810

United States

Toronto, Canada

20 Pullman Ct, Scarborough,

Ontario M1X 1E4


London, UK

14 Liverpool Road, Slough,

Berkshire SL1 4QZ

United Kingdom