Invalid environment URL - this URL is not avariable

I’m trying to switch an Anvil domain to a Custom Domain.

But I’m having the following problem:

On Publish/URL, when I click on “switch to custom domain” and copy my custom domain, bought from Go Daddy, I get the following error:
“invalid environment URL - this URL is not avariable”.

What could be the reason?, since the URL exists and is not being used.

I need some help, Anvil is not giving me any tip on the error.

Thank you.

Hi @a.mestre,

That probably means that custom domain is already associated with another environment (possibly another Anvil app). Did you already configure that domain on another of your apps, perhaps?