Back

custom domain when create membership

  • 0
  • Flutter
  • Cloud
Drake
30 Sep, 2023, 21:06

You can't on cloud. Just wait

TL;DR
The issue was resolved by removing all DNS records for a custom domain. The user had set up a custom domain and pointed it to Appwrite, but after removing the records, everything started working fine. There was some confusion about the URL of the create member API call and the link in the email, but the user resolved it by setting up the web platform correctly. The user mentioned that clicking on the link in the email now redirects to a webpage instead of opening the app. There is some discussion about whether the domain should be pointed at Appwrite or the user's app. It is clarified that the link should be for the user's app
mc-stephen
30 Sep, 2023, 21:08

Ohhhhh, taught he was using self hosted

samderlust
30 Sep, 2023, 21:10

@Steven After this, open the link can not open the app on ios anymore. I already set up Universal link

Drake
30 Sep, 2023, 21:14

What are you doing?

samderlust
30 Sep, 2023, 21:15

send an invitation to an email and then click on the link in email to open the app

Drake
30 Sep, 2023, 21:16

Like I said before, that link is supposed to be a link to your app, not Appwrite

samderlust
30 Sep, 2023, 21:17

But I need to set up the web platform in order to be able to send out the URL?

Drake
30 Sep, 2023, 21:17

Yes so that's it's allowed

samderlust
30 Sep, 2023, 21:22

yes and now click on the link it doesn't open the app but a webpage instaed

Drake
30 Sep, 2023, 21:23

What is the domain pointed at?

samderlust
30 Sep, 2023, 21:25

so I set up my web platform : abc.domain.com universalink to my app is abc.domain.com and the url to team Invite is also abc.domain.com

Drake
30 Sep, 2023, 21:26

What is your domain pointed at?

samderlust
30 Sep, 2023, 21:26

just a blank page where I set up that sub domain

samderlust
30 Sep, 2023, 21:27

hmm, now when I open the domain it redirect to abc.domain.com/login with appwrite UI but I can not login

Drake
30 Sep, 2023, 21:27

So you see this when you click on the link?

Drake
30 Sep, 2023, 21:28

That means you domain is pointed at Appwrite. In addition, your universal link isn't working

samderlust
30 Sep, 2023, 21:29

it was working before I set up the web platform

Drake
30 Sep, 2023, 21:34

Share more details if you want more help

samderlust
30 Sep, 2023, 21:38

is it right when the domain is automatically redirect to login page?

Drake
30 Sep, 2023, 21:39

It should be YOUR app, so is that how you built YOUR app?

samderlust
30 Sep, 2023, 21:39

I'm using cloud

Drake
30 Sep, 2023, 21:39

The URL you put for the create member API call should be a url for YOUR app

Drake
30 Sep, 2023, 21:40

The link in the email should be for YOUR app

samderlust
30 Sep, 2023, 21:43

ok. I think i messed up something when I set up the custom domain. I'll do some fix to see if it works thanks so much for your support

samderlust
1 Oct, 2023, 16:23

@Steven I confirm that the issue was because of I set the custom domain and point that domain DNS to appwrite before. Now that I remove all DNS record., things work fine. Thanks for your support

Reply

Reply to this thread by joining our Discord

Reply on Discord

Need support?

Join our Discord

Get community support by joining our Discord server.

Join Discord

Get premium support

Join Appwrite Pro and get email support from our team.

Learn more