Back

Setting up SSL

  • 1
  • Self Hosted
Doriim
13 Sep, 2024, 22:51

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:

TL;DR
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.
Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more