#how to setup custom domain
52 messages · Page 1 of 1 (latest)
Is this Cloud or Self-hosted?
Self hosted
And you want to send emails via Sendgrid from your Appwrite Console domain?
Does going to the domain currently shows your Appwrite Console?
Yes. I have already redirected the ip to the domain
And you're trying to follow this?
Would you be OK with sharing your domain so that I can see it's DNS records?
So it seems that domain redirects to another IP address which actually hosts your Console?
first, I will suggest you add the domain name to the Appwrite platforms
secondly, you will need to update your DNS Zone in your Cpanel or WHM, add or update the Records, CName or txt etc
Yeap
Adding domain is the issue. Im getting error
Do I have to change anything in the .env file
So this isn't an Appwrite issue, then
The issue is adding domain in the custom domain section
Oh, so this is when you add the domain in Appwrite? Not when you add the domain to Sendgrid?
Yes
So if I understand correctly, you want to access your Appwrite Console by going to https://app.mujunifx.com, instead of going to the IP address you currently access it with?
Something like that
So that I can create a recovery url as app.mujunifx.com/recovery/
In order to properly set applinks, because applinks can't work with the ip
This is the error am getting
okay...
i have this issues before, and i resolved it,
are you building an App?
if yes
what platform are you using to build with appwrite
flutter or react-native?
you can add it in this place,
like i said before, you need to add it to your appwrite platform
Yes a flutter app
okay i build with flutter also
Yes
this is what you need to do, go to your dashboard, and add one more platform to your integration
just as you added your Andorid Platform and Ios Platform
so add another platform for web
in the place of hostname, add your domain name
JUST YOUR DOMAIN NAME
Yes yes am on it
if this is what you are aiming at then you should add the sub domain like as you have done here app.mujunifx.com
Done
good boy😂 😂
What's next
https://docs.flutter.dev/ui/navigation/deep-linking
set up your andorid and ios for deeplink
by the way i used uni_link package for my project
you are welcome
So no need for custom domain right.??
no need for that
have not even used custom domain in any of my project
maybe other users might disagree, well i speak from my level of usage of appwrite at this moment
I see. So Custom Domains are to allow you to call the Appwrite API using a different domain name - this is sometimes necessary because of Same-site cookies.