Create multiple website in IIS 5 using command (adsutil.vbs) in Admin Scripts
I am blogging this for my reference. I had spend almost a day to find this. In newer versions of IIS you do not need the help of this command, you can right-click a website on the IIS and create a new website.
If you are using IIS 5, you will find this command helpful to clone a website.
Steps
- Go to '\Inetpub\Adminscripts' folder.
- Type the command : adsutil.vbs COPY W3SVC/1 W3SVC/2
This will create a copy of the default website in your machine.
Now you can configure your new website.
Keep in mind that you can only run any one instance of these websites in your server at a time. If you need to switch to another server, you must stop the running instance.
Comments