I must have been a bit confused as to whether I needed to create a domain.com server block as well as a Django Project server block. I created both and set up Certbot for the domain.com. I looked into my sites-available config files and the domain.com config has certbot configured, whereas the Django Project config file does not. I need to find out whether I should remove the link in sites-enabled for the domain.com and edit my config for the Django Project: server as the domain.com www.domain.com instead of an IP address. Then rerun certbot to install a cert for the Django Project, so that config file shows the certbox configuration. I’m thinking I should only have the Django Project server block, not the domain.com server block as well. Please advise.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.