Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

We have our main web site set up in IIS6 with an ssl cert for our domain "adomain.com". We have another web site that we need to place on the same server which will be accessible via "adomain.com/newsite" each site has its own ip address.

We want to use the same ssl cert on both web site.

We dont want to have adomain.com/newsite under adomain.com website as they are seperate asp.net applications and adomain.com/newsite would inherit the adomain.com websies dlls and cause errors.

Is it possible to do what we are trying to do. I am a developer and not and sysAdmin so am a bit lost here.

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

Certificates are issued for domains. They don't care what happens after the domain. If you set up your second site as described, you can use the same certificate, no problems. However, I don't think this will give you what you want. I am not a specialist on asp.net websites, but as far as I can tell "adomain.com/whatever" and "adomain.com/newsite" are effectively parts of the same website (namely "adomain.com"), and hence you WILL end up using the same dlls.

If that means that you really have to have a different domain, such as "new.adomain.com" vs. "www.adomain.com", then you either need a separate certificate for that, or you have to get yourself a certificate that covers more than one domain (which is possible, albeit at extra money).

share|improve this answer
    
Thanks, what steps would I take to setup the ssl cert for both sites in IIS. As each site will be in its own application pool with the routing done by the loadbalancer the two websites should be independant, I think. I will soon find out. –  skyfoot Aug 4 '10 at 16:06
    
As said, I am not an export on IIS, I am sorry, I can't help you there. –  wolfgangsz Aug 5 '10 at 13:04
add comment

a loadbalancer can only route ssl encrypted traffic if it does the ssl itself, so either it won't work at all or you should be able to load the cert into the loadbalancer rather than into IIS

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.