Skip to content
Back

[CLOSED] Costom domain Issues

  • 0
  • Resolved
  • 5
  • Web
Devtareeq
26 Dec, 2025, 18:53

Hi Appwrite team We’re having issues verifying a custom domain. We added the required CNAME and CAA records to our DNS provider and waited for at least 2 days as instructed. It doesn't verified, After that, we also updated the nameservers to Appwrite, making Appwrite the DNS manager, then added our domain cname and Apex domain A inside Appwrite.

However, when adding the apex domain A name record, Appwrite shows a lock on the A name record, which in results in showing a "invalid configuration" in our vercel where we deployed our project.

Could you please help us identify what might be conflicting or if anything needs to be removed from the original DNS provider? Thanks in advance 🙏

TL;DR
User was experiencing issues with custom domain setup for their appwrite dashboard. After troubleshooting various environment variables and DNS settings, it was determined that the SSL certificate generation was failing due to a missing _APP_EMAIL_CERTIFICATES variable. The issue was resolved once this variable was added. Additionally, the user found difficulty in the SSL certificate generation due to a challenge mismatch between appwrite and their provider, Squarespace. The thread concluded with the suggestion of creating a new post for further assistance.
28 Dec, 2025, 06:18

For me the CAA record has never helped me when it comes to appwrite. But I use CNAMEs and it works.

For custom domain I also don't use Appwrite as DNS manager. But it took me a series of deleting and trying again.

29 Dec, 2025, 06:42

I figured it out thanks man gracias

1
29 Dec, 2025, 08:33

Hello I think I may be having the same issue. I have a custom site and the DNS pointed correctly because I get a appwrite 404 error. what could be wrong? https://kwai-site-dev.sites.app.i-kwai.com/ maybe ssl? how do i fix the ssl issue? in my env vars i have _APP_DOMAIN_SITES=sites.app.i-kwai.com then i have a wildcard dns for *.sites.app.i-kwai.com A record to the IP

29 Dec, 2025, 09:54

Commonly the SSL is automatically generated once the domain is verified. I would check if the domain is verified.

29 Dec, 2025, 10:28

how do i do that? in the appwrite console?

29 Dec, 2025, 12:20

Yes, appwrite console.

  1. Project Overview
  2. Domains
  3. Click the dotted line at the right of the domain. And you will see an option to verify if it's not yet verified
30 Dec, 2025, 00:21

All I see is delete. I dont see a verify option im on the latest 1.8.0 version

30 Dec, 2025, 00:34

Im hoping to fix this because I will have to do the same thing for my functions domains.

30 Dec, 2025, 04:41

I hope someone on the Appwrite team will step in to look at your project.

1
31 Dec, 2025, 00:27

at this point its taken me too long to figure out so ill have to move on.. sucks too because it was literally the last piece i needed. i got it deployed but cant access it. 🙁

31 Dec, 2025, 00:59

it should You should see a retry button.

31 Dec, 2025, 01:00

i dont. all i see is delete..

31 Dec, 2025, 01:00

can you try delete and add again?

31 Dec, 2025, 01:00

the domain?

31 Dec, 2025, 01:00

yes

31 Dec, 2025, 01:02

still nothing

31 Dec, 2025, 01:04

Have you set your environment variables correctly?

  • _APP_DOMAIN
  • _APP_DOMAIN_TARGET
  • _APP_DOMAIN_TARGET_CNAME
  • _APP_DOMAIN_TARGET_A
31 Dec, 2025, 01:05

This is my setting.

TypeScript
_APP_DOMAIN=backend.pdnode.com
_APP_DOMAIN_FUNCTIONS=functions.pdnode.com
_APP_DOMAIN_SITES=sites.pdnode.com
_APP_DOMAIN_TARGET=backend.pdnode.com
_APP_DOMAIN_TARGET_CNAME=backend.pdnode.com
_APP_DOMAIN_TARGET_AAAA=
_APP_DOMAIN_TARGET_A=<your ip>
_APP_DOMAIN_TARGET_CAA=
31 Dec, 2025, 01:07

ok let me check rn.

31 Dec, 2025, 01:07

can i assume backend.pdnode.com is your appwrite dashboard?

31 Dec, 2025, 01:07

yes

31 Dec, 2025, 01:08

and in your DNS you have an A record wildcard for *.pdnode.com pointing to the IP?

31 Dec, 2025, 01:09

Yes, I also set *.functions *.sites

31 Dec, 2025, 01:11

_APP_DOMAIN_FUNCTIONS=functions.app.i-kwai.com _APP_DOMAIN_SITES=sites.app.i-kwai.com _APP_DOMAIN_TARGET=app.i-kwai.com _APP_DOMAIN_TARGET_CNAME=app.i-kwai.com _APP_DOMAIN_TARGET_AAAA=::1 _APP_DOMAIN_TARGET_A=<my-ip> _APP_DOMAIN_TARGET_CAA=

should i remove the .app from the sites and functions urls?

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