I need to connect 2 hostname (localhost and *.vercel.app) while adding a web app on appwrite cloud, but it only accepts one hostname either localhost or vercel! Is it possible to use Multiple Hostname for Connecting both to Appwrite?
Yes, it is possible to connect both localhost and *.vercel.app to Appwrite by using custom domains.
- Go to your Appwrite project settings and add both
localhostand*.vercel.appas custom domains.
- Ensure your DNS settings are correctly configured to point
*.vercel.appto your Appwrite instance
- Make sure to configure (CORS) settings in Appwrite to allow requests from both hostnames
Recommended threads
- Deleted my account, trying to signup aga...
https://cloud.appwrite.io/console/login?error=%7B%22message%22%3A%22This+email+address+must+already+be+in+its+canonical+form.+Please+remove+aliases%2C+tags%2C+o...
- Unable to create Sites or Functions with...
Heya, I was looking at the appwrite documentation for Sites API with the server api: https://appwrite.io/docs/references/cloud/server-nodejs/sites I can’t fin...
- Index for combination of columns
How am i suppposed to apply index so that combination of two columns alwasy remain unique in appwrite table though console