Back

custom domain error

  • 0
  • Self Hosted
rohan
3 Sep, 2023, 00:24

Hi im self hosted andi have added the required domain in custom domain.. but when i try to access the appwrite using that domain im getting

TypeScript
Error 404
The requested route was not found. Please refer to the API docs and try again.

Type

general_route_not_found
TL;DR
User has encountered an error when trying to access Appwrite using a custom domain. The default OAuth is accessible, but the custom domain gives a 404 error. The user has added the custom domain in the settings. Solution is not provided in the thread.
D5
3 Sep, 2023, 00:25

Okay, where are you setting the domain?

Drake
3 Sep, 2023, 00:35

are you trying to access the appwrite console?

rohan
3 Sep, 2023, 00:35

in the settings

rohan
3 Sep, 2023, 00:35

no but the default oauth points to that domain

rohan
3 Sep, 2023, 00:36

and i get 404 error so it wont deeplink back

Drake
3 Sep, 2023, 00:36

in mobile? why not use your main appwrite domain?

rohan
3 Sep, 2023, 00:37

i can but i would like to use the custom domain

Drake
3 Sep, 2023, 00:38

i don't think that will be possible...

rohan
3 Sep, 2023, 00:38

in previous version of appwrite it was working good

Drake
3 Sep, 2023, 00:38

yep, we've added restrictions on the domain to help prevent spoofing/phishing

rohan
3 Sep, 2023, 00:39

but the default oauth should be accessible

rohan
3 Sep, 2023, 00:39

so that it gets redirected properly

Drake
3 Sep, 2023, 00:44

hmm maybe...would you please create a github issue?

rohan
3 Sep, 2023, 00:46

sure i will create

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