-
-
Notifications
You must be signed in to change notification settings - Fork 641
Closed
Description
Context: I have 2 subdomains.
- a.domain.com, www.a.domain.com
- b.domain.com
Hi, I have a problem with the SSL certificate. I have created a wordpress container (from your project) with a domain name (ex: A.domain.com), everything works fine. I modify the hosts in .env file (in the wordpress project), so that it points to a new domain (B.domain.com).
I think I need to completely recreate the containers so that the changes in the .env file are taken into account, I perform these actions in wordpress-project:
docker-compose stop
docker-compose rm
docker-compose create
docker-compose start
The site is accessible, from http://B.domain.com but the https causes an error because the certificate is not valid. I realize that I am missing the "www.B.domain.com", so I create the subdomain but the site is still not functional in https.
The questions are:
- When are the SSL certificates generated?
If I add a new wordpress site while the server is online, I just have to mount the docker-compose,
and the new site will be available automatically? - How to force the regeneration of the SSL certificate?
Metadata
Metadata
Assignees
Labels
No labels