Skip to content
internal
- use certbot to add new domain name
- add new service to docker compose
- restart docker compose
- docker exec into container (with sh) to check it is running
- add dns to /etc/hosts
- restart pihole-FTL
- add website file to /etc/nginx/sites-available
- link that file to /etc/nginx/sites-enabled
- add new domain to /etc/nginx/nginx.conf in long (eg. xyz.domain.ie) and short (eg. xyz) form
- restart nginx
external
- use certbot to add new domain name
- add new service to docker compose
- restart docker compose
- docker exec into container (with sh) to check it is running (eg. docker exec -it container shell)
- add dns to cloudflare
- add website file to /etc/nginx/sites-available
- link that file to /etc/nginx/sites-enabled
- add new domain to /etc/nginx/nginx.conf in long (eg. xyz.domain.ie) and short (eg. xyz) form
- restart nginx