#Custom Function Domain Error

7 messages · Page 1 of 1 (latest)

misty cairn
#

I have a function and it's default domain is https://66c4ef207ae4885d4fc7.aw.example.com/, it works, that's fine.

But I want to add a custom domain. I want https://my-function.aw.example.com/. So I put in my-function.aw.example.com to the Domain for the Create Domain screen and hit Next and I am given the toast error. "You cannot assign your functions domain or it's subdomain to a specific resource. Please use a different domain."

Is this intentional, is it something I can disable, is Appwrite generating domains for functions that don't follow it's own rules? Or am I just misunderstanding the point of custom domains? Is what I want even possible?

strong brook
#

and why is it like that ? to avoid people setting custom domains with IDs and then if appwrite create automaticly one with the same ID it can cause problems

misty cairn
#

to avoid people setting custom domains with IDs and then if appwrite create automaticly one with the same ID it can cause problems
But appwrite creates an automatic domain before anyone can make a custom one, so that isn't really an issue?

#

Even if you could create a domain for a function before appwrite gives it an automatic one, the chances of you giving it the same ID is ASTRONOMICAL surely

wispy horizon
#

But still, I don’t think that should be a real issue