I have a domain name (Eg: www.myurl.com) and my website is running in an Elastic Beanstalk instance on AWS EC2.
I have created a hosted zone and made all the entries for pointing my domain to my EC2 instance.
Everything works fine, but the only problem is , when I hit my domain url (www.myurl.com) , the website loads from EC2 but the url also changes to the EC2 url, something like (http://someec2.url.aws.com)
How can I keep my url (www.myurl.com) in the browser, while the website still loads from ec2 and restrict to show the ec2 url.
Quick response is appreciated.
Thanks in advance.