#[SOLVED] New domain to appwrite instance
19 messages · Page 1 of 1 (latest)
Thanks, Guille. I think the domain had not fully propagated. It is now working fine. But I wonder why I was getting logs when I hit the new domain.
There's a possibility the domain could've propagated & connected to Appwrite but the browser might've somehow cached the Hello, World response before propagation completed. Just a hunch though.
Where is the Hello world from?
I have gotten it. This has connected to my starter function already.
good possibility that nginx created a default index.html or something similar.
I see.
Does this mean that I have to be creating a new subdomain for every function I create?
aah no. just point a wildcard entry on the domain to appwrite via cname.
You are a star. Thanks. I have added functionID.functions.example.com to the custom domain on the function page.
Now how can nginx certbot generate certificates for *.functions.example.com
if there's no proxy in front (like dns proxy via Cloudflare), appwrite should generate a valid ssl automatically for every function domain created.
@charred rivet Do you have solved this?
Yes. I have. The only remaining problem is the ssl certificate. My appwrite instance sits behind an Nginx reverse proxy.
aah i see. in that case, ig nginx sode certbot can issue ssls. iirc, the appwrite worker may not be able to issue ssl. its been a while in that case so memory is a bit hazzy on this.
@charred rivet Next tine edit the title and add [SOLVED] instead of deleting the post 😅
[SOLVED] New domain to appwrite instance
How do I go about issuing certificates for my custom domains for my functions?
I recommend creating a new post for that