Score:0

How to add dynamic subdomain to site test.mysite.com

us flag

I have requirement to manage dynamic subdomains for site like test.mysite.com BTW my current IIS has already multiple site hosted and each has SSL certificate configured. What I want to achieve is any subdomain should use the same site. like profile1.test.mysite.com,profile2.test.mysite.com etc., should use test.mysite.com. I have added code in site to check the domain URL and based on the first subdomain it set particular profile. Here is the binding of one site

vn flag
The term you'll want is "wildcard". https://docs.microsoft.com/en-us/iis/get-started/whats-new-in-iis-10/wildcard-host-header-support
CHETAN SUTHAR avatar
us flag
How can I set it with SSL certificate?
Lex Li avatar
vn flag
There are wildcard SSL certificates on shelf you can buy from CA.
mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.