
I have a domain with QSERERS
Which --> designgrid.com.ng
I forward ⏩ the A Record to Vercel where am hosting my Frontend.
Vercel generated an SSL for the domain
In Vercel, I created a CNAME appwrite
and VALUE cloud.appwrite.io
I added my domain to Appwrite and successfully verified.
Now my custom endpoint looks like
appwrite.designgrid.com.ng
I replaced
https://cloud.appwrite.io/v1
With
https://appwrite.designgrid.com.ng
In my code
Which now looks like
`client.setEndPoint("https://appwrite.designgrid.com.ng").setProject([My Project ID]);
The question is
When I use the custom domain as the success and failure urls to redirect to
https://appwrite.designgrid.com.ng/dashboard
It shows a blank page for a while then redirect automatically to Appwrite website.
In fact I only want to redirect to my actual domain which is
https://designgrid.com.ng/dashboard

The success and failure urls should be your app, not Appwrite

You mean like
https://designgrid.com.ng

Well it shows an error
Error 400
Invalid success url, says that only localhost
and appwrite.designgrid.com.ng

You need to register your front end app as a platform in your project on the appwrite console

Should the name match exactly 💯 as the my domain

Like rename my Appwrite platform to my domain

You can use wildcards when adding a platform

What?

Thank for your hint, my platform hostname is still localhost while am in production. Solved

client endpoint should be https://appwrite.designgrid.com.ng/v1 , seems that you forgot to add /v1
Recommended threads
- Adding "name" column to table creates 2-...
As stated, im adding the "name" column to one table, it adds 4 duplicates. In another table it adds 3 duplicates, and when I delete 1 of them, all duplucates di...
- Server Error when Pushing a Function
Get this ambiguous error when trying to push my function, it's TypeScript using NodeJS 18 ``` ? Which functions would you like to push? get-grades (get-grades)...
- Looking for Partner
I'm looking for a partner for long-term collaboration. Of course, you'll get paid for it. If you are interested, please send a DM to me
