Rank 3: Container
I have 2 Websites which would have same Appwrite backend.
Is it possible to use Multiple Hostname for Connecting both to Appwrite?
Votes
0
Replies
19
Participants
Unknown
Messages
20
Rank 3: Container
I have 2 Websites which would have same Appwrite backend.
Is it possible to use Multiple Hostname for Connecting both to Appwrite?
Admin
sorry, you mean multiple hostnames for appwrite? If so, that's what custom domains are for: https://appwrite.io/docs/custom-domains
Rank 3: Container
I have a Main website Eg: main.test.com and boss.test.com.
Rank 3: Container
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.
Rank 3: Container
I used *.test.com
Rank 3: Container
But Its not Working
Admin
wildcard should work for CORS
Rank 3: Container
I'm using google Oauth for the main.test.com and Normal auth for example.test.com.
Admin
that is different. you have a separate thread open for oauth
Rank 3: Container
And only when I put main.test.com as hostname, I get redirected to google login
Rank 3: Container
No the thing is. It was working Yesterday
Rank 3: Container
Can I use different websites for this Instead of Subdomain?
Rank 3: Container
Like test.test.com & Example.example.com
Rank 3: Container
to access the same Appwrite ?
Admin
you can put your front end app wherever you want
Rank 3: Container
But How do I get accross CORS from different websites?
Admin
add a web platform for that website
Rank 3: Container
Both can access the Same DB too?
Rank 3: Container
And all the files?
Admin
yes, of course