Skip to content
Back

[SOLVED] Custom Domain / SSL Certificate is not working correctly

  • 0
  • Self Hosted
Vedsaga
11 May, 2023, 17:01

what is the TTL you gave btw? was it 300?

TL;DR
Title: [SOLVED] Custom Domain / SSL Certificate issues, solution found Solution: The issue was resolved by changing the domain settings to default and then back to custom, followed by a restart. Additionally, clearing browser cache or trying a different browser may also help resolve the issue. Ensure that HTTPS and HSTS (HTTP Strict Transport Security) are properly configured. Setting a higher TTL (Time-to-Live) may take longer to update. Check the documentation for instructions on configuring certificates. Remember to set the A Record when running the Appwrite instance on a public IP address.
AleXoTroN
11 May, 2023, 17:01

I just have to set a A Record when my Appwrite instance is running over a public IP address right?

AleXoTroN
11 May, 2023, 17:01

TTL is at 600

AleXoTroN
11 May, 2023, 17:01

I wasn't able to set a lower number

Vedsaga
11 May, 2023, 17:01

umm, that should too be fine, mine was 300, so the bigger you set the higer the chances that it might take longer

Vedsaga
11 May, 2023, 17:02

yap that's should it

AleXoTroN
11 May, 2023, 17:03

Ok thanks you so far!!

Vedsaga
11 May, 2023, 17:06

may be try Clear cache or try a different browser

Vedsaga
11 May, 2023, 17:07

did happened with me that after depoying Steven saw able to see but I wasn't after clearing browser cache/ trying diff browser it did worled

Vedsaga
11 May, 2023, 17:07

worked*

D5
11 May, 2023, 17:12

It seems you have enabled HSTS. You will probably need to disable that

D5
11 May, 2023, 17:13

And wait for browsers delete the cache or deleting browser cache manually

D5
11 May, 2023, 17:14

But it seems more like HTTPS has not bee yet configured

Drake
11 May, 2023, 18:15
AleXoTroN
11 May, 2023, 18:22

How to do that?

AleXoTroN
11 May, 2023, 18:23

I did it manually and got those logs

Drake
11 May, 2023, 18:30

are you running on non-standard ports?

Did you read #4?

AleXoTroN
11 May, 2023, 18:31

I was but I changed them to 80 and 443

AleXoTroN
11 May, 2023, 18:34

It works now 😏

AleXoTroN
11 May, 2023, 18:34

You can change it to solved

AleXoTroN
11 May, 2023, 18:34

I just changed them to custom and back to default and then restarted

Drake
11 May, 2023, 18:36

FYI, you can update the post title as well

Drake
11 May, 2023, 18:36

[SOLVED] Custom Domain / SSL Certificate is not working correctly

AleXoTroN
11 May, 2023, 18:39

Oh good to know thx!! Didn't know that

AleXoTroN
11 May, 2023, 18:39

Ah I found where to do that 🙂

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