Wildcard subdomains in IIS7. Is it possible to make them like it is in Apache?

The answer is No, IIS7 (still) does not support wildcard hostnames (see this ). If you want to serve multiple domain on one website, the only workaround for now, as notandy suggested, is using a dedicated IP and doing it with DNS, which does support wildcards.

The answer is No, IIS7 (still) does not support wildcard hostnames (see this). If you want to serve multiple domain on one website, the only workaround for now, as notandy suggested, is using a dedicated IP and doing it with DNS, which does support wildcards.

Im trying to think if there'd be a way to use the url rewriter to game this into working.. gotta think. – boomhauer Feb 16 at 16:29 The problem is that those rewrite rules need a website to live in; a website needs bindings to come alive; and IIS doesn't support wildcard bindings, so we're back in square one. You can definitely have a website simulate serving multiple websites (for example with rewrite rules, as you mention), but you do need a dedicated IP to pull this off.In this case, DNS is essentially making up for IIS's flaw.

– Daniel Liuzzi Feb 17 at 1:48.

Can I capture and redirect *.mydomain. Com to one web site? The answer is Yes/No.

Yes, because you are able to redirect *.mydomain. Com to one web site.No, because the magic is in DNS and not IIS. Here's how you do it: At IIS MMC, configure a web site with NO host header, then assign an IP address to the site.

(if you have one IP address in the box, then you can skip this). With this, the web site will bound to the specific IP and will listen to all HTTP requests send to the IP, and you are done :) Next step is to make sure your name resolution works for the wildcard query and reply with the correct IP address. If you using Microsoft DNS service, it won't allow you to create a '*' A record (assuming you already created the domain zone in DNS MMC), you need to do the following: a) Navigate to %windir%\system32\dns\ b) Find the zone file.

E.g.Mydomain.com. Dns, open it with Notepad c) Add an entry. E.g.

* A IP.IP.IP. IP d) Save the zone data file e) Reload the zone data in DNS MMC. Take note that by doing this, all * will response to the IP that you configured earlier.E.g.

Abc.mydomain.Com, www.mydomain.com, K2k.mydomain. Com and etc. To verify that it is working, try ping utility Ping (insert anything here). Mydomain.Com .. and you should get replies from IP.IP.IP.

IP Then try browsing, http://(insert anything here).mydomain. Com/, you should get the same web page that you have configured.Source.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions