Back

[SOLVED] Using Cloudflare Tunnel To Self Host AppWrite

  • 0
  • Self Hosted
Drake
13 Nov, 2023, 04:38

A wildcard makes it so any subdomain will point to the same thing. A.whatever.com, b.whatever.com, etc

TL;DR
User was having trouble setting up 2 domains, one pointing to localhost and the other to a custom domain. Issue was solved by using Cloudflare Tunnel to self host AppWrite. No further action needed.
Ketan
13 Nov, 2023, 04:39

I did that, it tells me this hostname will not be covered with certificate, will it be ok to run it like??

Drake
13 Nov, 2023, 04:40

Nope. Like it says, you won't get a valid SSL certificate

Ketan
13 Nov, 2023, 04:40

Will try it out and ping you if I got any other error

Ketan
13 Nov, 2023, 05:39

Hi, its not working. I waited one hour, so I think its just tunnel issue because tunnel needs some input. Do you have any idea where in the localhost environment the function url be pointing. I have changed the function api point to my domain??

Ketan
13 Nov, 2023, 05:41

The automated generated url is http://6551b583986bca88664e.custom-instance.com/ -> localhost url

Ketan
13 Nov, 2023, 05:41

6551b583986bca88664e.localhost just redirects to login screen

Drake
13 Nov, 2023, 16:17

sorry im not following

Drake
13 Nov, 2023, 16:17

Uhh that URL won't regenerate or anything like that. You'd need to recreate the function to get a new auto genrated URL.

Ketan
14 Nov, 2023, 06:48

Can Function URL be reversed proxy??

Ketan
14 Nov, 2023, 06:48

I just want it to be like https://root_domain/function

Drake
14 Nov, 2023, 19:35

im not really sure what you mean...

Ketan
15 Nov, 2023, 04:33

Instead of subdomain, I want a specific port or url to be attached

Drake
15 Nov, 2023, 05:15

Why?

Drake
15 Nov, 2023, 05:15

The function is exposed on whatever port Appwrite is running on

Ketan
15 Nov, 2023, 06:39

I am having problem making the subdomain work. It always tell me 404 not found.

Ketan
15 Nov, 2023, 11:52

Would you be there on tomorrows office hour? I would like to share my screen to show the main problem??

Drake
15 Nov, 2023, 14:54

That shouldn't be related to ports at all

Ketan
16 Nov, 2023, 06:16
Ketan
16 Nov, 2023, 06:17

Can you confirm which network is public: appwrite or gateway??

Ketan
16 Nov, 2023, 08:14

Yup I got It

Ketan
16 Nov, 2023, 08:14

You can close this issue now

Drake
17 Nov, 2023, 05:35

[SOLVED] Using Cloudflare Tunnel To Self Host AppWrite

Drake
17 Nov, 2023, 05:35

what was the solution?

Ketan
17 Nov, 2023, 08:10

I need to setup 2 domains. 1 point to localhost and other to customdomain and it worked

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