"Invalid Host header" Error
I have deployed my server on ubunto-20x, tested it with IP address and was working fine.
Then i added the domain name (from namecheap), added ns1, ns2, ns3.digitalocean.com to namecheap NameSpaces, and setup-ed the @ and www referring to the droplet in my domain
setup-ed ufw to allow only http and https access
Then setup-ed SSL certificate using Let’s Encrypt and Certbot.
what could be wrong ?
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.×