IIS – Add a site based on the DNS name

Windows Server 2012R2  Windows Server 2016  Windows Server 2019

This “How to” tutorial explains how to add a site to an IIS web server based on the DNS name.

Create the folder that will host the website on the IIS server.

Create folder

On the IIS server, create a folder that will contain the site files.

Open the IIS Administration Console – Internet Service Manager.

Open IIS console

On the server, open the Internet Information Services (IIS) Manager console.

On the Sites folder, right click and click on Add Website

In the navigation panel, unfold the server, in the Sites folder, right click and click on Add website.

Configure website settings.

Enter the name of the site, the physical path (folder created at the start), indicate the DNS name (site url) and click OK to create the site.

The site is created

The site is created, managed by the IIS console and accessible by its url on port 80 by default.

In order for the site to be available, it is necessary to create a record on the DNS server which manages the domain name.

Related Posts

DNS Resolution Based on Client IP Address with Windows Server

In this tutorial I will explain how to make sure that the DNS resolution with Windows Server is done according to the IP address of the client. There are two solutions that we will see in this article

IPAM: IP Address Management with Windows Server – Installation and Configuration

Presentation of IPAM IP Address Manager (IPAM) is a feature built into Windows Server that allows you to set up an administrator tool and analyze DHCP scopes and have an IP address base within a compu

Windows 10: Install an IIS web server

Presentation In this article, I will explain how to install an IIS web server on a computer with Windows 10. IIS is a Web server developed by Microsoft that is also available on servers. The version i