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
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
- cant resume project
Invalid console fingerprint event i try man time
- Realtime for files() works almost well, ...
I have been trying to make use of realtime, today (14.03.26) I have pulled all the latest versions of docker images, and sdk available. Whats working: - Conn...
- Function issue
Hi,idk whats wrong with my function but i made some changes to the env var and made sure they saved then i redeployed it,but then after it redeeployed it asked ...