Posted by MrPhilbert on February 24, 2011 at 2:34pm
Does anybody know how to create wildcard sub domains in iis?
Do I need to point a specific ip address to my main drupal root?
I am working on a site that requires the ability to create sub domains on the site itself. Domain Access would work but wildcards would be required.
Any walkthroughs would be greatly appreciated.
Thanks in advance,
MrPhilbert

Comments
Here's a walkthrough...
I found a walkthrough here, linked to a discussion on SO, though it appears that you will need to have a static IP Address to pull this off. Sorry, I don't have any experience with this specifically.
Thanks
I looked at the link and it was the last key. I was on the right track I guess.
My setup:
1. Three ip addresses.
2. Configure static ip in ipv4 from my local area connection.
3. Make sure the dns server address is pointing to my dns host.
4. Add the two ip address with the same default gateway.
5. Configure one of the ip address as default (as failsafe).
6. Pick a domain and configure that one to point to the Drupal root with one of the remaining ip addresses in the site bindings.
7. Add a site binding with the same ip but leave the host header blank.
Only use this ip for this domain and no other.
Try it out at www.blitherblather.com and add any sub domain. It will always go the the same location (I created an ip display page for now.
Notice that the www gets stripped from the address? I added a 301 redirect as well. Now I'm all set to go.
Thanks