Multiple SSL sites with host headers
Situation
- Configuration of multiple web applications using host headers for extranet.
- Configure for extranet on port 443 (SSL)
- Configure using Wild Card Certificate
Error
When I tried to configure the second web application, the web site stopped with the error
Cannot create a file when that file already exists
Resolution
In the given situation, multiple host headers are to be configured to use port 443. Since we are using multiple web applications on the same secure port you will need to use the ADSUtil to configure the “SecureBindings”
In addition to installing a wildcard server certificate on SSL-enabled Web sites, it is recommended to configure the SecureBindings metabase property on each site so it contains the host header name of the site. All SSL-enabled sites that use the same IP/port binding and are distinguished only by host header name must use the same wildcard server certificate.
To configure the SecureBindings metabase property for SSL host headers
From the command prompt navigate to c:\inetpub\adminscripts
Type the following command at the cmd prompt
cscript.exe adsutil.vbs set /w3svc/<site identifier>/SecureBindings ":443:<host header>"
where host header is the host header for the Web site, for example, extranet.justsharepoint.com
where site identifier is the identifier for your web site in IIS.
Sample command
cscript.exe adsutil.vbs set /w3svc/848820626/SecureBindings ":443:extranet.justsharepoint.com"
- I am sure it can be done! :) I am a no code guy ;)...
- Can this be done with code?; For example when the webpart is...
- Fab 40 for MOSS 2010 are now available http://microsofttec...
- i was try to remove site with "Remove-SPSite http://....." ...
- I am unable to do this in Outlook2007 :( .. I have tried eve...
- Hi, I need to ask something that regard the lookup field for...
- how do I download windows live hotmail plus to gain more MB'...
- What I did was to extend the webapplication to port 80 inste...
- I have a question... If i extend the web application to the ...
- in part 11 when i submit the info i get the error "The va...








Tom C said,
Wrote on October 17, 2008 @ 4:09 am
I’ve gotten my site up and running very well using the methods you mentioned. How do you restore a farm from backup to a new site with this method? I’ve begun testing that and it complains that the port is already in use and the restore fails.
Tom C said,
Wrote on October 17, 2008 @ 4:14 am
I may have answered my own question with someone else’s blog post. I’ll post it here for anyone else who has the same issue. I’d also appreicate any comments about other methods of dealing with the issue (if there are any).
http://lanestechblog.blogspot.com/2008/03/backing-up-and-restoring-sharepoint.html
Thanks,
TC
David Smith said,
Wrote on February 19, 2009 @ 4:49 am
the binding works for a while, then the site goes down, once I tried to bring it back, I got the same error as before so I have to run the binding command again. it happens several times on two servers so we decide to unbing the command, is there anyway to do this?
Thanks alot