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
- Invalid document structure: missing requ...
I just pick up my code that's working a week ago, and now I got this error: ``` code: 400, type: 'document_invalid_structure', response: { message: 'Inv...
- custom domain with CloudFlare
Hi all, it seems that CloudFlare has blocked cross-domain CNAME link which made my app hostname which is in CloudFlare, unable to create a CNAME pointing to clo...
- Custom emails
What happen if I use a third party email provider to customize my emails and my plan run out of emails/month? Appwrite emails are used as fallback sending emai...