
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
- Getting issue while migrating from Self ...
i try to migrating my project but when do this error come and dont allow to crate that migration
- Need help setting up this error is showi...
You can't sign in to this app because it doesn't comply with Google's OAuth 2.0 policy. If you're the app developer, register the redirect URI in the Google Cl...
- Direct Upgrade from Appwrite v1.5.11 to ...
I'm on Appwrite v1.5.11. Can I upgrade directly to v1.6.2?
