Step-by-Step Guide - How to Set a Domain Name to IIS (Internet Information Server) on Windows Server?

Step-by-step guide Step-by-Step Guide to Set Domain to IIS:

Step 1: Install IIS (if not installed)

  1. Open Server Manager

  2. Click Add Roles and Features

  3. Choose Role-based or feature-based installation

  4. Select your server

  5. Check Web Server (IIS) under Roles

  6. Click Next and Install


Step 2: Add a Website in IIS

 1. Open IIS Manager (inetmgr)

open-iis-control-panel


system and security - administrative tools


2. In the left panel, right-click Sites > click Add Website


sites and then add website


3. Fill the form:

    • Site Name: Name for identification (e.g., MyWebsite)

    • Physical Path: Folder where your website files (HTML/PHP/etc.) are stored (the site file that usually lies in inetpub folder.)

    • Binding:

      • Type: http

      • IP address: Select your server IP (or "All Unassigned")

      • Port: Usually 80

      • Host name: Enter your domain (e.g., yourdomain.com) (leave it blank if this is dedicated IP otherwise enter  “www.yourdomain.com”.)

 4. Click OK


Step 3: Point Your Domain to Server IP

You need to update DNS records with your domain registrar:

  1. Log in to your domain registrar's control panel (e.g., Bluechipspace.com, GoDaddy)

  2. Go to DNS Management / Zone Editor

  3. Add or Edit an A Record:

    • Host: @ (or blank, depending on registrar)

    • Points to: your server's public IP

  4. Optional: Add a www record:

    • Host: www

    • Points to: same server IP

DNS setup DNS changes may take 5 minutes to 24 hours to propagate.


Step 4: Enable Firewall Port (Port 80)

  1. Open Windows Defender Firewall

  2. Click Advanced Settings

  3. Inbound Rules > New Rule

  4. Choose Port

    • TCP > Specific Port: 80

  5. Allow the connection > Finish


Step 5: Test in Browser

  • Open browser and go to http://yourdomain.com

  • If setup is correct, your site should load.


⚙ Optional: Set Up HTTPS (SSL Certificate)

For https:// access:

  1. Buy or generate a free SSL (e.g., from Bluechipspace)

  2. Import SSL into Windows using Certificates MMC

  3. In IIS, go to your site > Bindings > Add:

    • Type: https

    • IP: your IP

    • Port: 443

    • SSL certificate: Select imported certificate

  4. Save and restart site


✅ Summary:

TaskDescription
Add site in IIS With domain in "Host name"
DNS configuration A record pointing to server IP
Firewall config Allow TCP port 80 and optionally 443
Test access Open domain in browser
(Optional) HTTPS setup Install SSL certificate in IIS
  • 0 Users Found This Useful
Was this answer helpful?

Related Articles

How to transfer my Domain to Bluechipspace

Before requesting the transfer, kindly check that the following apply to the domain at your...

How to transfer my Domain away from GoDaddy

Before attempting to transfer a domain away from GoDaddy, you must complete the following steps....

Overview of TLDs

Overview of TLDs (Domain Name Extensions)Registration: TLDDuration (Years)Money Back Grace...

How to point my domain name to my Amazon EC2 web server?

The simplest method is to do IP address forwarding where you forward the incoming requests to...

Renewal grace period

Understanding Domain Name Expiry and Display of a Parking Page Renewal Grace Period of Domains...

Powered by WHMCompleteSolution