Skip to content
Back

Adding custom domain to Appwrite project

  • 0
  • Web
  • Cloud
Bradley
1 Aug, 2025, 08:53

My app is hosted on Vercel on domain todo.velleb.com. On PC, the OAuth logins like GitHub, Discord and Google work and create the account and log in. On mobile however, it creates the account but then redirects back to the login and doesn't actually log me in.

I read I need to add a custom domain to fix this. I tried to add appwrite.todo.velleb.com but it keeps saying 'Verification failed' and shows this error when I go to the page. This is my DNS CNAME record. What am I doing wrong?

TL;DR
Issue: OAuth logins work on PC but not on mobile, despite creating an account. User attempted to add a custom domain (appwrite.todo.velleb.com) to resolve the issue, but encountered a 'Verification failed' error. Solution: The CNAME record must point to the correct subdomain. Double-check the DNS settings to ensure the CNAME record is correctly configured for appwrite.todo.velleb.com. Additionally, verify that the domain has been properly added and authorized within the Appwrite project settings.
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