Changing domain and getting certificate for www

Hi all,

So I’m currently host discourse via the recommend method using the setup script with the docker container.

I need advise on the following matters:

  1. I want to migrate the domain from example.com to forum. example. com , I got some ideas on how to do this but I’d like some advise

  2. when I generated the SSL cert during the setup script, it didnt apply for www. and just example.com , i assume if I use “www. forum. example. com”, it will apply also for “forum. example. com”?

Thanks

You can follow this guide

Thank you, and what about the matter with R3 SSL?

after_ssl:
    - replace:
        filename: "/etc/runit/1.d/letsencrypt"
        from: /-d www.first-domain.com/
        to: "-d www.first-domain.com -d second-domain.com -d www.second-domain.com -d other-domain.com -d www.other-domain.com "

I followed this, rebuilding now to see.

2 Likes