projects
asked on
SSL cert when using www.domain.com and domain.com on same server
I hope this will make sense to you.
The primary web site on the server (centos7) is www.domain.com.
A secondary site is domain.com on the same server but NOT as an alias in the www.domain.com directives.
In other words, they are two separate servers.
Both are set up in the VirtualHost section of httpd.conf of apache 2.2.
The question is, how many SSL certs do I need to get to use both domain names?
Typically, when you get a cert, you give the full name of the server or domain.
In my case, the server name is something like x32.domain.com.
I would prefer not to have to buy two certs but it's ok if I do, the main concern is that I need SSL for both instances.
Finally, how do I set this up?
The primary web site on the server (centos7) is www.domain.com.
A secondary site is domain.com on the same server but NOT as an alias in the www.domain.com directives.
In other words, they are two separate servers.
Both are set up in the VirtualHost section of httpd.conf of apache 2.2.
The question is, how many SSL certs do I need to get to use both domain names?
Typically, when you get a cert, you give the full name of the server or domain.
In my case, the server name is something like x32.domain.com.
I would prefer not to have to buy two certs but it's ok if I do, the main concern is that I need SSL for both instances.
Finally, how do I set this up?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
For somewhat more money, you can just get a "wildcard" cert for *.domain.com that will normally also include domain.com -- this kind of cert can usually be used on as many servers as you need.