1 Risposta
- Più recenti
- Maggior numero di voti
- Maggior numero di commenti
0
Hello there,
I understand that you need to point two domains to the same ec2, and the resolution to that would be the following:
- Make sure that your instance has an elastic ip address which helps the instance to have a static ip. See reference [1] for Elastic IP addresses.
- Create the two A records (Domains) in the DNS Zone of your same or different registrar pointing to the elastic ip of your EC2 instance to get the requests routed. See reference [2] for more information on creating records. Please note that if you are having a public DNS instead of an Elastic IP address, you can add CNAME records instead of A records.
References:
[1] https://docs.aws.amazon.com/AWSEC2/latest/UserGuide/elastic-ip-addresses-eip.html
[2] https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-creating.html
con risposta 2 anni fa
Contenuto pertinente
- AWS UFFICIALEAggiornata 6 mesi fa
- AWS UFFICIALEAggiornata 2 anni fa