IIS - Add a site based on the DNS name

IIS: add a site based on the DNS name

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.

Click here to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.

Step 1

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.

Romain Drouche

Romain Drouche

Architecte Système | MCSE: Core Infrastructure

Expert en infrastructures IT avec plus de 15 ans d'expérience sur le terrain. Actuellement Chef de projet Systèmes et Réseaux et Référent SSI (Sécurité des Systèmes d'Information), je mets mon expertise au service de la fiabilité et de la sécurité des environnements technologiques.

GHinM▶