SSL on primary domain and www subdomain

itsensellc

Verified User
Joined
Jul 15, 2005
Messages
53
I have a situation where a client's entire site is secured, and all the links within' the site as just based on the primary domain. This client moved to my server and now we want to write all primary domain requests to the www subdomain. I know in this case I need SSL certs on both the domain.com and www.domain.com CN's. I have the IP's so that is no problem but I can't figure out how I can trick directadmin into treating these separately. If I try to add www.domain.com as a domain in Domain Manager it complains the domain already exists.

We already own both certs so I'm hoping somehow I can get this to work - we only need it for a month. Anyone have any advice?
 
No you dont. You should be forwarding your requests to either www or non www and then have a ssl on that only.
 
Nevermind - enter stage right: SAN: subjectaltname. Turns out the cert for the primary domain automatically included www in the SAN field and then this is a non-issue.
 
Then you will have to pay for multidomain ssl or ask your ssl provider to match both www and non www. There is no way in directadmin to split up www and non www the way you want to do it. Im pretty sure if you explain to your ssl provider what you want to do they will update your cert free of charge.
 
Then you will have to pay for multidomain ssl or ask your ssl provider to match both www and non www. There is no way in directadmin to split up www and non www the way you want to do it. Im pretty sure if you explain to your ssl provider what you want to do they will update your cert free of charge.

GoDaddy apparently gives you www free as a SAN when you purchase the primary domain as the CN. So if you get domain.com, they give you www.domain.com as a SAN and then this is non-issue without wasting another IP.

DirectAdmin would work - if they would consider www as just a subdomain which it is really. But for some reason it's treated differently.
 
NoBaloney (that's me :)), Globalsign, and Comodo all automtically give you (for example) example.com free included when you buy www.example.com.

Jeff
 
Back
Top