By dhaneshkhot
Hello there, I’m setting up my website again step by step on a new droplet. On earlier droplet I had added nginx certificate from let’s encrypt to make it secure and added a redirection to https when site was hit on http.
Now on new droplet first of all I’ve installed nginx from official NGINX repository instead of Debian or Ubuntu repositories to get the latest version. Because of this from my understanding I only have to add server block in /etc/nginx/conf.d/*.conf and there won’t be /etc/nginx/sites-enabled/*;.
As I’m yet to setup certificate on this new droplet I was expecting I should be able to visit my website with http://khottotalfitness.com/, but it is still redirecting to https://khottotalfitness.com/. Can anybody please explain why this is happening?
Note: I can visit my website with IP address.
Is it because of certificate I had created earlier? What can I do in this case?
Thanks, Dhanesh
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!
Hello folks, though it was stupid mistake, I later got to know what had happened. It was cached in the memory, when I cleared the cache memory, I was able to hit it on http.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.