Service AmazonCloudFront Status Code 400 Error Code com amazonaws services cloudfront model InvalidArgumentException The parameter origin name cannot be an IP address

+1 vote

Hi Guys,

I am trying to create one Cloudfront Distribution for my webserver. But it is showing me the below error.

How can I solve this error?

Jun 5, 2020 in AWS by akhtar
• 38,220 points

1 answer to this question.

0 votes


CloudFront will not allow you to use any IP address in Origin Domain Name. You have to use Domain Name for your web server, then only CloudFront will allow.

answered Jun 5, 2020 by MD
• 95,320 points

Related Questions In AWS

0 votes
1 answer
+3 votes
3 answers
+2 votes
1 answer

Deploy Docker Containers from Docker Cloud

To solve this problem, I followed advice ...READ MORE

answered Sep 3, 2018 in AWS by Priyaj
• 58,140 points
+15 votes
2 answers

Git management technique when there are multiple customers and need multiple customization?

Consider this - In 'extended' Git-Flow, (Git-Multi-Flow, ...READ MORE

answered Mar 27, 2018 in DevOps & Agile by DragonLord999
• 8,450 points