![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
Its been more than 48 hrs now and the problem still persists. Please help. I am using hostinger for the domain and my webapp is hosted on vercel. I am trying to implement custom domain on appwrite since i had issues with third party cookies while using google auth.
![](https://cdn.discordapp.com/avatars/796164927034359808/318b9f408f57114c9605b8d3b30fd499.webp)
Generally you canβt create a CNAME on a root domain?
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
Oh
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
But hostinger just allowed me to add in a cname
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
How do i fix the issue
![](https://cdn.discordapp.com/avatars/365301924607557634/1b525bfe8dc5c3f2d376dc4557222859.webp)
Yeah the third party cookies it solved when your fronted is served from the main domain (www.maindomain.com) and appwrite from a subdomain (appwrite.maindomain.com)
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
ok could you guide me now on how to resolve this problem?
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
is this how it has to be done?
![](https://cdn.discordapp.com/avatars/365301924607557634/1b525bfe8dc5c3f2d376dc4557222859.webp)
Is your main domain pointing to your frontend right? do you see a response from your frontend?
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
yes
![](https://cdn.discordapp.com/avatars/365301924607557634/1b525bfe8dc5c3f2d376dc4557222859.webp)
Ok, yes I can see that. and appwrite.thepatialahouse.online, is working too but there is no certificate
![](https://cdn.discordapp.com/avatars/365301924607557634/1b525bfe8dc5c3f2d376dc4557222859.webp)
So you added a cname entrie in your domain and then added the frontend as platform?
![](https://cdn.discordapp.com/embed/avatars/0.png)
You're using SSR. I think you don't need SSR?
![](https://cdn.discordapp.com/embed/avatars/0.png)
If so, disable it so it's easier
![](https://cdn.discordapp.com/embed/avatars/0.png)
Or wait for 1.5 or handle it with cookies
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
How do i disable it?
![](https://cdn.discordapp.com/embed/avatars/0.png)
"use client";
![](https://cdn.discordapp.com/embed/avatars/0.png)
In the pages
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
But i am already using use client in all the pages
![](https://cdn.discordapp.com/avatars/365301924607557634/1b525bfe8dc5c3f2d376dc4557222859.webp)
And what method are you using to login?
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
For google auth?
![](https://cdn.discordapp.com/avatars/365301924607557634/1b525bfe8dc5c3f2d376dc4557222859.webp)
oh you're using oauth2... can you check the network call in the browser, when google calls the appwrite callback to create the session, you can check the cookies created as well
![](https://cdn.discordapp.com/avatars/796164927034359808/318b9f408f57114c9605b8d3b30fd499.webp)
No, thatβs not necessary
![](https://cdn.discordapp.com/embed/avatars/0.png)
Depends on the platform. In this case not. Apologies for the error
![](https://cdn.discordapp.com/avatars/721061778087215204/ccdf6be8d29615f7acbee5ece9127c43.webp)
Sure lemme send it you
Recommended threads
- How to generate a database-setup script ...
I've written a vue.js webapp with appwrite-cloud-db (including relations) and everything works just perfectly! Now I want to release this webapp as an open sou...
- Server Error - 500 when Loading Messagin...
Hi, I'm self hosting on a VPS my appwrite database and was working towards setting up an SMTP server, when testing I got an error due to some mishaps with the S...
- Invalid token passed in the request by u...
Hi guys, I'm having this issue when passing the parameters userId and secret to **updateVerification**. I checked in Appwrite console and the email was verifie...
![](/images/bgs/pre-footer.png)