'How to make *.ec2-in-st-an-ce.location.compute.amazonaws.com point to ec2-in-st-an-ce.location.compute.amazonaws.com

As the title suggests, I want to add dns record so that *.ec2-in-st-an-ce.location.compute.amazonaws.com point to ec2-in-st-an-ce.location.compute.amazonaws.com.

I tried making hosted zone ec2-in-st-an-ce.location.compute.amazonaws.com and then adding record for * in route53 but it didn't work



Solution 1:[1]

You do not own the amazonaws.com domain, so you will not be able to do that.

The domain names such as ec2-11.22.33.44.region.compute.amazonaws.com map directly to the IP addresses shown in the name.

If you wish to point an IP address to an Amazon EC2 instance you will need to add an A-Record to a domain that you own and control.

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 John Rotenstein