How to bulk Add and modify bound domain names under the IIS environment
1, close IISAdmin service and W3SVC service, can be closed from the service, you can also directly execute the command:net stop iisadmin/y;
2, open "C:\WINDOWS\SYSTEM32\INETSVR", find MetaBase.xml, this is the place to store IIS information, including IIS configuration and site configuration are in this file, back up, prevent errors;
3, find to modify the site, according to the original form to add domain name bindings, save MetaBase.xml;
4, restart IIS, can directly use IISReset to achieve;
5, check whether to add success, such as unsuccessful, check the reason, resolved. (The first time I did this was because I failed to add a quotation mark, and then I found the problem after checking it.) )
6, to now add the work has been completed. Modify the same way, is to add the domain name to modify the existing domain name.
How to bulk Add, modify, and delete bound domain names in the IIS environment