I have 2 domains
example.com
example.id
I plan to have DNS records for both, as below:
For example.com:
————————
example.com A 1.2.3.4
www.example1.com CNAME example.com
For example.id
———————
example.id CNAME example.com
www.example.com CNAME example.com
And both of them would be web hosted in the SAME server and IP as describe on the above case.
Question:
Can I just create 1 letsencrypt certificate for example.com A 1.2.3.4 and will be use for:
example1.com
www.example.com
example.id
www.example.id
Or how many letsencrypt certficate should I create for the above scenario?
Need advice.
Thanks
1 Like
Hi @winanjaya
you can.
The more important question: Do all these 4 domains have the same content? So do you use one vHost with 4 domain names?
One vHost -> one certificate.
So if you have one vHost, one certificate may be the easiest solution.
If you have different vHosts, you have three options: One certificate, two or 4 certificates.
1 Like
Yes, they are the same contents.
example.com
www.example.com
example.id
www.example.id
Are in the same documentRoot
1 Like
Thanks a lot! for your advise
system
Closed
5
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.