Domain being redirected to IP

0

I brought a domain to Route53 and created the records as instructed in the manual. I created the load balance for ec2. I created the certificate. The problem is that when I type the domain in the browser, it is redirected to the ec2 IP.

What could be the problem?

BGNiNFO
asked a month ago51 views
1 Answer
1

Hello.

Are you creating an alias record for your load balancer in your DNS record in Route53?
If you have created an A record for the EC2 IP address, please change that A record to the load balancer's alias record.
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/resource-record-sets-choosing-alias-non-alias.html

Also, if you are creating an alias record for the load balancer, there may be a problem with the settings on the web server side, so please check if there are any settings that cause redirection.

profile picture
EXPERT
answered a month ago
profile picture
EXPERT
reviewed a month ago
profile picture
EXPERT
reviewed a month ago
profile pictureAWS
EXPERT
reviewed a month ago
  • Agree sounds like a webserver setting redirect configuration issue

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions