Multi Domain config

Hi People,

Is it possible to have 1 certificate for multiple domains
i own 3 domain names wakefieldgrp.uk, wakefieldgrp.co.uk & bhclf.com and they are all pointing to a single location

is there a way to have each of these entries on the cert and if so how?

@bwakefield Welcome to the community!

Yes, you just list them all in the -d (domains) option like:

sudo certbot --nginx -d "wakefieldgrp.uk,wakefieldgrp.co.uk,bhclf.com"

Or, list them separately like "-d domain1 -d domain2 ..."

The sample command was for nginx authenticator / installer but the same format for -d applies for Apache, webroot and other options

See:
https://eff-certbot.readthedocs.io/en/stable/using.html#certbot-command-line-options

2 Likes

Thank you ever-so much :slight_smile:

2 Likes

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