How to Host a Domain in Windows Server 2022

  1. In your Windows Server 2022, open the Internet Information Services (IIS) Manager from the Start menu.
    screenshot of IIS manager in Start menu
  1. The IIS manager will open up in a new window. In the right most section, Connections, you’ll be able to see your server name. Click on it. Then click on Sites
    screenshot of IIS manager with highlighted Sites folder and Add Website button
  1. Now from the rightmost section, Actions, click on the Add Website link. A pop up window will open.
  1. Under Site name, enter the domain name of your website.
  2. Leave the Application Pool section as it is.
  3. Click on the button next to the physical path button and navigate to the location of the site file. It is generally in the inetpub folder. Alternatively, you can create a new folder for this site. We’re creating a file named index.html in new directory called arvindnewsite for the sake of this tutorial.
  4. Then fill in the Type and IP address fields. Set the Port to 80. If you’re using a dedicated IP you can leave the Hostname field empty. Otherwise enter, replacing by the domain name for your website. Make sure the box next to Start Website Immediately is checked. And then click on the OK button.
    screenshot of IIS Add Website menu (Adding a Host Name)

You’ve successfully added your website to IIS. You’ll be able to see your website in the Sites section in your IIS Manager something like this:

screenshot of Sites window

Now you are all set to create your own website. Just make sure to host it in the folder we chose in step 6. In our case we created a new file called index.html for the sake of testing. And you’ll be able to see this when you access your website by entering your domain name.

screenshot of the result

We hope to have helped you in hosting a domain in Windows Server 2022. Now it’s your turn to host an amazing website and show the world what you’ve got to offer!

How To Set up a VSFTPD Server on a CentOS 7 VPS or Dedicated Server

Brief Description FTP is usually insecure exposing clear-text passwords, userna
2 min read
Avi Ilinsky
Avi Ilinsky
Hosting Expert

How To Set up a VSFTPD Server on an Ubuntu 16.04 VPS or Dedicated Server

Brief Description FTP data is usually insecure since information (usernames, pa
2 min read
Eliran Ouzan
Eliran Ouzan
Web Designer & Hosting Expert

How to use phpMyAdmin to develop a website (without MySQL experience)

Brief description A web developer who is not well versed into coding websites f
2 min read
Idan Cohen
Idan Cohen
Marketing Expert

How to Install MySQL on a Windows Web Server Running Apache

This tutorial will show you how to install the MySQL database on a Windows serve
3 min read
Michael Levanduski
Michael Levanduski
Expert Hosting Writer & Tester provides professional web hosting reviews fully independent of any other entity. Our reviews are unbiased, honest, and apply the same evaluation standards to all those reviewed. While monetary compensation is received from a few of the companies listed on this site, compensation of services and products have no influence on the direction or conclusions of our reviews. Nor does the compensation influence our rankings for certain host companies. This compensation covers account purchasing costs, testing costs and royalties paid to reviewers.
Click to go to the top of the page
Go To Top