I’m having the same problem, when I click on “switch for public link” 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.
In future please try to ask your question in only one place. Otherwise, someone may take time to answer a question that has already been answered elsewhere, which can be frustrating.
For the reference of others, this has been addressed elsewhere: