First time writing here, Hope someone could help.
I have a domain DNS pointed as below:
@ pointed to SERVER_IP www pointed to SERVER_IP
I am not using CNAME as I was following tutorial on Digital Ocean. Let me know if that is the route I should go for.
Anyways, I followed all the tutorial as mentioned in Initial Ubuntu Server and Also Lemp Install. Nginx Installed, PHP working good.
Then I try to install SSL Certificate using Certbot. CertBot Tutorial finished with no errors however, My website is not having redirection error. I selected redirect all http to https since my goal is that
Also note if I enter my SERVER_IP in browser it was showing nginx default page. I removed unlink default from the /sites-enabled/ I’m not sure if that is the cause of the error.
Please let me know what am I doing wrong since I’m stuck here for a long time.
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.
Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.
Click below to sign up and get $100 of credit to try our products over 60 days!