Same domain, 2 certificates, one certificate without the WWW and another certificate with WWW


#1

Hi,

I have a paid certificate with WWW: www.plusmobile.fr

I would like to redirect https://plusmobile.fr (without www) to https://www.plusmobile.fr

But I’m not able to configure a paid certificate in www.plusmobile.fr and another Let’s Encrypt certificate in the plusmobile.fr domain.

I just generated the LE certificate for plusmobile.fr (without the www)
When I configure the LE, the server considers the same certificate for both domains.
The same happens when I configure the paid certificate.

What am I doing wrong?

My server is a Windows 2016 Server, IIS 10, asp.net, mysql.

Thank you!


#2

IIS won’t serve two certs for the same site.
You will need to separate the two names as two separate sites.
The WWW site can be served by the WWW cert.
The base site can be served by the base cert.


#3

Hi,

The question was the same IP.

I put an IP address for the domain with WWW and another IP address for the domain without WWW and it worked!

It works on the same website or on different websites.

Anyway, thank you!


#4

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.