By using AWS re:Post, you agree to the Terms of Use
/Api-gateway custom domain names: Bug in valid domain checking/

Api-gateway custom domain names: Bug in valid domain checking

0

If I navigate to Api Gateway -> Custom domain names -> create, and enter 'api.exampl.com' in the domain name field, choose 'Regional' endpoint type, select an ACM certificate, and click the 'Create domain name' button, I get the following error banner at the top of my screen:

Invalid domain name api.exampl.com. Valid patterns are ^*[\w\d-]*.(([\w\d-]+.)+[\w\d-]+)$ or ^(([\w\d-]+.)+[\w\d-]+)$

It seems like this should be an acceptable domain name, matching the above regular expression. I'm using Google Chrome 100.0.4896.127 on Ubuntu 20.04. I have two APIs defined in API gateway

1 Answers
0

api.exampl.com is a registered name in DNS according to whois. Try a DNS name that’s not currently registered and see it that will work for you.

answered a month ago
  • Thank you, I have, and the issue persists. api.exampl.com was just intented to be an example which gives the same error as a more complex/un-taken name.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions