I have a domain mydomain.com and I set up a subdomain (sub.mydomain.com) which has SSL certificate associated with it with a redirect configured from HTTP to HTTPS which points to a droplet on DO, DNS record is properly setup.
When I visit the link I get “no server IP address could not be found” or no data
licences.energycom.gov.gh is added on the droplet as a domain and when I try to install letsEncrypt SSL certificate using (https://www.digitalocean.com/community/tutorials/how-to-secure-nginx-with-let-s-encrypt-on-ubuntu-20-04) I get unable to install the certificate but the certificate and chain are stored. How do I correctly setup the droplet so I can install SSL and be able to serve the request and return data when accesses through the subdomain
What do I need to do for the droplet to serve the subdomain request with data,
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
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.