General discussion
September 28, 2001 at 05:41 PM
opc.three

Can I Add Host Headers Programmatically?

by opc.three . Updated 24 years, 11 months ago

I had a situation where I needed to create 3000 websites in IIS5 using Host Headers. I used the Microsoft supplied AdminScript mkw3site.vbs which worked great however the script did not provide a place to add a second host header name. Because of this my sites are not served whenever a client fails to type in the preceding “www.” before the domain name. I have searched Microsoft’s website and have found little detailed documentation supporting direct access to the metabase. Does anyone know howto do this? I need to add host header names to the metabase and do not want to do 3000 right-click scenarios 🙂
Thanks for reading, please help if you can.

This discussion is locked

All Comments