Microsoft IIS 10.0 – Uploading .NET web pages to a wildcard host

How to turn off IE enhanced security on Windows Server 2019

In this recipe, we are going to upload website application pages for the wildcard host site. The website application pages have been developed in .NET framework version 4.0.

We are going to upload simple HTML website pages as well to the wildcard host for demonstration.

Getting ready

To step through this recipe, you will need a running IIS 10.0. You should have already created and configured the and wildcard hosts. You should also have administrative privileges.

How to do it…

  1. Log in to Windows Server 2016, and go to Server Manager.
  2. Open Server Manager on Windows Server 2016. Click on the Tools menu and open IIS Manager.
  3. Expand the IIS Server ( WIN2016IIS). We get the listed Application Pools and Sites. You will get three websites listed in the sites folder–,, and–and two wildcard hosts, and Now, we are going to upload the webpages for the and wildcard host sites.
  4. Click on the wildcard host, go to the right-hand side of the IIS Manager console, and you will get the Actions panel. In the Actions panel, there is an option called Explore:
  1. Click on the Explore option; it will open the content directory of the selected wildcard, ssl.v2mysitecom, or you can mention the physical folder path of the wildcard host folder, as shown here:
  1. We have already created a website application page in ASP.NET version 4.0 and pasted it in the content directory of
  2. Right-click on the default file, and select open the property sheet of the default page:
  1. Now let’s have a look at the extension details of the default application page. As you can see in the previous figure, the Type of file is ASP.NET server page (.aspx). Notice that the default file extension is .aspx and file name is default.aspx.
  2. Let’s upload some of HTML files to Follow the same steps for and paste it in an HTML file under the appropriate directory. We’ll paste the iisstart.html and iisstart.png files in our case. Both are default files available in the default website, created when you install IIS Server. Let’s use the same iisstart.html and iisstart.png files for testing, but you can use any HTML file or a complete website.
  1. Now close the folder. We are using two types of wildcard hosts. The host is an application wildcard host, and the second is, which is a simple website-type wildcard host.

How it works…

In this recipe, we uploaded website application pages written in ASP.NET to the wildcard host We checked the properties of the default.aspx application page.

We also uploaded simple HTML website pages to the wildcard host

Comments are closed.