I have 2 Websites which would have same Appwrite backend. Is it possible to use Multiple Hostname for Connecting both to Appwrite?
sorry, you mean multiple hostnames for appwrite? If so, that's what custom domains are for: https://appwrite.io/docs/custom-domains
I have a Main website Eg: main.test.com and boss.test.com.
I can only use one Hostname in Appwrite. For Ex: If I type main.test.com in Hostname in Appwrite. Then There are no CORS error for this Subdomain. But other has that problem.
I used *.test.com
But Its not Working
wildcard should work for CORS
I'm using google Oauth for the main.test.com and Normal auth for example.test.com.
that is different. you have a separate thread open for oauth
And only when I put main.test.com as hostname, I get redirected to google login
No the thing is. It was working Yesterday
Can I use different websites for this Instead of Subdomain?
Like test.test.com & Example.example.com
to access the same Appwrite ?
you can put your front end app wherever you want
But How do I get accross CORS from different websites?
add a web platform for that website
Both can access the Same DB too?
And all the files?
yes, of course
Recommended threads
- encrypt and decrypt buckets
I have a bucket where I switched from encryption to not encrypting files. I later realized that files already uploaded earlier stay encrypted. Now I have a buck...
- Unable to Create Storage After Upgrading...
We upgraded our Appwrite instance from version 1.8.0 to 1.9.0 and successfully ran the migration process. However, after the upgrade, we are no longer able to c...
- I can't UNPAUSE my project with the free...
I received an email notifying me that my project had been paused due to inactivity, and the email included a link to "Restore project." However, that button red...