I'm trying to automate a sharepoint deployment and one of the tasks is to extend the web application using the stsadm command extendvsinwebfarm. However I'm constantly getting the error:
The IIS Web Site you have selected is in use by SharePoint. You must select ano ther port or hostname.
I think the problem is because I'm trying to extend web application using the same url. For example my cms site is:
and i want my extended site to be:
Is it possible extend the web application using the same url via stsadm?