Environment : Linux 4.4.0-77-generic , Ubuntu 16.04.2 LTS with Apache 2 ( Apache/2.4.18 (Ubuntu))
Here is the situation : I had an SSL certificate for domains without www in them. Basically I thought www.domain-name.com
and domain-name.com
were considered as 1 domain, and the SSL certificate would work for both URL , but I learned that it only works with domain-name.com
( so without www in the url ).
I bought 3 extra domains (basically the same ones, but this time with 'www'
in the domains url's).
What happened is that Comodo sent me a zip file containing this time not 2 files, but 4 files. I would like to know which is the correct qay to specify these new files within the VirtualHost configuration file ( apache2 , ubuntu 16.04) ?
I spend many hours trying to make the SSL certificate work yesterday and this morning, and it did in the end... but only for non www urls. So I'm probably nearly there... Just need to secure the www
domains as well.
Here is a quick graphic showing the problem and question I have. This is the first time I'm doing this so it can get confusing especially after many hours spent on this case allready :)