DoriimOriginal post
Web Developer
Hello guys,
I'm relatively new to web dev and I don't know much about it.
I have installed Appwrite on my VPS and follow the docs to setup SSL. It works, whenever I go to "example.com" it redirects me from http to https "https://example.com".
But when I enter my VPS ip address or when I enter "www.example.com". It didn't redirect to https.
I tried to block the port 80 in firewall, then nothing works. I would like to disable unsecured routes but I don't know how, I'll be appreciated if someone could help me with it.
This is how I configure DNS records:
Summary
New developer trying to set up SSL on VPS with Appwrite. Redirects to https for "example.com" but not for IP address or "www.example.com". Trying to disable unsecured routes and needs help. DNS records configuration included. Solution: Update server configuration to include redirection for IP address and "www.example.com" to https.