We need to point two domains to the same EC2. It is not working.
We are looking to solve a problem with NGINX in AWS. It is not pointing correctly and pointing to a port 5000. We have not specified the setting in the config file. Also, our EC2 is showing that is not connected to the domain but it is the only EC2 we have, which in fact points to our domain. There are no errors shown.
We need to point two domains to the same EC2. We are using AWS and trying to avoid having to create a new server. Is there a video anyone may be able to share or correct the process? Thank you!
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  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  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.
Pointing an A Record and CNAME Record to WIX Not Working, A Record not propagatingasked 6 months ago
A Record (Cloudflare) pointing to EC2 instance not reachableasked 2 months ago
DNS address could not be found. Diagnosing the problem. DNS_PROBE_POSSIBLE | Non-Existent Domainasked 6 months ago
The EC2 public address is not accessible from everywhereAccepted Answerasked 5 months ago
Struggling with Site to Site VPN using CiscoASAv and Public Encryption Domainsasked 5 months ago
Frequently Linux instance is not running, have to reboot the instance to make it run again.asked 3 months ago
Is It Possible to CodeDeploy to an EC2 Instance In A Different Regionasked 4 months ago
We need to point two domains to the same EC2. It is not working.asked 12 days ago
Accessing AWS FSX from a windows EC2 that is not joined to the same domain.asked 19 days ago
How can I serve CloudFront assets to a naked domain I manage with a non-AWS DNS provider?asked 7 months ago