Cannot assign custom domain to pages deployment due to special character 'ä'

What is the name of the domain?

neu-gebäudereinigung.de

What is the error message?

Please enter a valid domain.

What is the issue you’re encountering

I added a new Domain to my cloudflare account (neu-gebäudereinigung.de). Now I wanted to add that domain to my cloudflare pages deployment. The problem is I cannot add the domain here because the (I suppose client-side) form input validation fails with “Please enter a valid domain.”. I think thats because of the letter ‘ä’ in the domain name. When I remove the ‘ä’ I can get to the next step (but then it’s the wrong domain of course). How can I still add this domain to the site?

What are the steps to reproduce the issue?

  1. Added domain neu-gebäudereinigung.de to Cloudflare
  2. Go to an active pages deployment
  3. Navigate to the Custom domains tab
  4. Try to add the domain
  5. Get the error “Please enter a valid domain.”

Screenshot of the error

Update:
I just managed to make it work. I was able to add this domain instead: xn--neu-gebudereinigung-mwb.de. I have no idea why this works. Are you just supposed to not use any domains that contain a special character like this? Really confusing

1 Like