
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?
TL;DR
Configure CORS settings in Appwrite for both hostnames and ensure DNS settings point `*.vercel.app` to Appwrite. Add both `localhost` and `*.vercel.app` as custom domains in Appwrite project settings. This allows connecting multiple hostnames 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
localhost
and*.vercel.app
as custom domains.

- Ensure your DNS settings are correctly configured to point
*.vercel.app
to your Appwrite instance

- Make sure to configure (CORS) settings in Appwrite to allow requests from both hostnames
Recommended threads
- fix project error
https://cloud.appwrite.io/console/project-nyc-6610481f003bf0704275 Hi, could someone help with this issue: error: Invalid Argument Project with the requested I...
- Webhooks not working?
I have this webhook in appwrite but unfortunately this webhook isn't being triggered whenever I change something in the database. I've put the right databaseID ...
- Flutter - FCM: App Crashes when receivin...
