loading...

Microsoft IIS 10.0 – Understanding wildcard hosts

Initial Configurations of Windows server 2019

In this recipe, we are going to understand wildcard hosts. We will create a few to demonstrate wildcard host websites and get an overview of it.

Let’s understand wildcard DNS in detail.

Getting ready

To step through this recipe , you will need a running IIS 10.0 instance.

How to do it…

  1. Open Internet Explorer on your Windows 10 PC or Windows Server 2016. I am using a Windows 10 PC.

 

 

  1. Go to the address bar of any browser and type the URL http://learningpoint.co.in. You will be redirected to the default home page of learningpoint.co.in:
http://learningpoint.co.in/
  1. The website’s domain name is learningpoint.co.in, whose DNS record is present on a DNS registration server and points to a web hosting server such as IIS 10.0. Once you access the website’s domain name, the DNS server will translate the name to an IP and forward the request to the web server (IIS 10.0 or similar). Then, you will see the website’s home page displayed.

 

 

  1. Now, open the http://demo.learningpoint.co.in website:

Here, we are accessing the subdomain demo, and the main, or parent, domain is learningpoint.co.in. It has been created for demonstration purposes; the subdomain site may later be removed by the owner, in general, there is no guarantee that a subdomain will stay forever for reader access.

For example, consider a company that has several branches over the world. The company doesn’t want to change the main domain name, so they decide to create a wildcard host or subdomain or child domain of the main domain. Let’s see how we can use the main domain and subdomain.

The company name is Learningpoint.co.in. The main domain for the demo of the product section we have created is demo.learningpoint.co.in. For the UAE office, we can add the subdomain uae.learningpoint.co.in.

Wildcard hosts can be used in several ways, as per the company’s requirements.

In the next recipe, we will learn how to create a wildcard host on IIS 10.0.

How it works…

In this recipe, we has an overview of wildcard hosts, also called subdomains or child domains. We have a parent domain called learnignpoint.co.in, and we created demo.learningpoint.co.in. We can use different names and create unlimited wildcard hosts for our parent domain. For a wildcard host, there is no need to pay any extra fees for perform registration. If you have a parent domain, you can create unlimited wildcard hosts.

We launched the URL http://learningpoint.co.in. We then got redirected to the home page of learningpoint.co.in. Next, we opened the URL http://demo.learningpoint.co.in. We were redirected to the home page of demo.learningpoint.co.in.

We also discussed the basics of DNS.

Comments are closed.

loading...