Add domain name to certificate with letsencrypt-win-simple


I used letsencrypt-win-simple and created a certificate for The way I ran it I selected the number for the host and it created a certificate just fine. Today I find out I needed to create and What do I have to do to fix this issue.
Thank You,


Hi @jbucar, I edited the title of the thread in the hope of attracting more people with relevant expertise.

1 Like


I think you should reconsider your approach. Having 2 sites with the same content, e.g. and is rarely considered as a good practice. SEO will warn you about double content and thus bad page ranking.
Here is my suggestion

If necessary you install the optional rewriting module of IIS

You put theses rules in the web.config

				<rule name=" vers www" stopProcessing="true">
					 <match url=".*" />
						 <add input="{HTTP_HOST}" pattern="^" />                 
					 <action type="Redirect" url="{R:0}" />
				<rule name="Redirect to HTTPS" stopProcessing="true">
					<match url="(.*)" />
                        <add input="{HTTPS}" pattern="^OFF$" />
					<action type="Redirect" url="https://{HTTP_HOST}/{R:1}" redirectType="Permanent" />

The result is the following : when a user arrives on or, he is automatically redirected to The same for search engine bots.

Best regards,



Thank You for the response. I created another binding for the website and the cert recognized the cert.

Thanks for the help,


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