Back

Server Error on custom domain verification

  • 0
  • Self Hosted
harikrishnanvh
21 Oct, 2023, 02:53

The custom domain is not getting verified on self hosted installation. It always gives a server error. The DNS changes have propagated

TL;DR
User is experiencing a server error while trying to verify a custom domain on their Appwrite instance. They are unable to generate an SSL certificate without configuring the custom domain in the console. The custom domain works without HTTPS. Support suggests checking the documentation for help with domain verification and configuring domain environment variables. The user mentions they are using a subdomain and are running Appwrite on Digital Ocean. Support asks if there is anything in front of Appwrite like a proxy or Cloudflare, and if it is running on the default standard ports and publicly available on port 80. The user confirms that the DNS changes have propagated. Solution: The TL;
Drake
21 Oct, 2023, 02:55

Do you have anything in front of Appwrite? Like a proxy or cloudflare? Is Appwrite running on the default standard ports? Is Appwrite publicly available on port 80?

harikrishnanvh
21 Oct, 2023, 03:07

It’s a one click installation on digital ocean. It runs on the IP as well as the domain added. But the SSL certificate generation is getting blocked with a message saying that the domain verification is pending. And when I try to verify the domain it’s gives a server error message every time.

Drake
21 Oct, 2023, 03:07

You probably need to configure the domain environment variables

harikrishnanvh
21 Oct, 2023, 03:08

Oh ok. Thanks for a quick revert. Is there any documentation available to refer to this in the docs

Drake
21 Oct, 2023, 03:09

Before that...how many domains do you need for your Appwrite instance?

harikrishnanvh
21 Oct, 2023, 03:09

Just one. I’m using a subdomain pointing to the appetite instance

Drake
21 Oct, 2023, 03:09

Btw, this is odd..I would have expected the error to tell you to configure the environment variable...

harikrishnanvh
21 Oct, 2023, 03:10

No. It gives only the server error message. The custom domain works though, but without https

Drake
21 Oct, 2023, 03:11

In that case, you shouldn't be configuring a custom domain in the Console

harikrishnanvh
21 Oct, 2023, 03:12

If I don’t configure the custom domain in the console how can I generate an SSL certificate. That’s where o am getting stuck.

harikrishnanvh
21 Oct, 2023, 03:12

Thanks a ton. Will go through this

harikrishnanvh
21 Oct, 2023, 03:13

Let me try this and report back. Your support is much appreciated 🙏

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