'How do i resolve where nginx is working properly but site is not loading?

My Ubuntu server has multiple numbers of sites with SSL enabled and active certificates from cert-bot (let's encrypt). Also when I check the status of Nginx it's working fine but the site that has been hosted is not loading. When I try to open one site with HTTP://it's popping the Nginx homepage but didn't work for HTTPS://. I tried checking different ports on ports 80 & 443 but they are open. How do I solve this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source