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
asked a month ago32 views
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
Relevant questions
I'm getting {"message":"Forbidden"} when trying to access my lambda from custom domain in api Gateway
asked 6 months agoApi-gateway custom domain names: Bug in valid domain checking
asked a month agoAccessing API Gateway both Public and Private endpoint
Accepted Answerasked 2 years agoIPv6 support for API Gateway Custom Domain Names
asked 3 years agoCan't enable custom domain on Lightsail
asked 11 days agocan we attach the custom domain to lambda function urls ?
Accepted Answerasked 2 months agoCustom domain in Lightsail container service is not working
Accepted Answerasked 6 months agoHTTP API - Custom Domain (Regional) - incorrect SSL cert?
asked 2 years agoCustom domain name not resolvable
asked 2 years agoCreating a custom domain name for a stage in API Gateway and attaching the cert
Accepted Answerasked 4 years 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.