Skip to content
Back

OAuth custom domain not working

  • 0
  • Auth
  • Cloud
heathbm
27 Jul, 2025, 21:19

Appwrite custom domain: backend.mysite.io

Namecheap settings:

  • CName: host: backend value: nyc.cloud.appwrite.io
  • NS: host: backend value: ns1.appwrite.zone
  • NS: host: backend value: ns2.appwrite.zone

Google redirect link:

  • https://backend.mysite.io/v1/account/sessions/oauth2/callback/google

The sdk is using backend.mysite.io

I get: page not found when I click Google OAuth. It worked before changing to custom domain.

TL;DR
Developers are using OAuth with a custom domain but are receiving a "page not found" error when clicking on Google OAuth after changing to a custom domain. The custom domain is `backend.mysite.io`, with Appwrite settings correctly configured on Namecheap and Google redirect link set as `https://backend.mysite.io/v1/account/sessions/oauth2/callback/google`. Double-check the DNS and CName settings to ensure they are correctly pointing to the Appwrite server to resolve the issue.
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