2

I am hosting a Python Flask web app on AWS EC2 and am mapping this AWS URL (http://myappname-env.abcxyz.us-west-2.elasticbeanstalk.com) to a domain on Google Domains (example.com). I have the A and CNAME records on the DNS page. When I go to example.com, I see the correct page, and the browser address bar says, correctly, example.com. But I am facing 2 issues:

  1. Whenever I hover on any hyperlink, e.g. on the menu item for the /info page, the browser status bar shows the AWS address i.e. http://myappname-env.abcxyz.us-west-2.elasticbeanstalk.com/info instead of example.com/info.

  2. When I go click on the link to example.com/info, the browser address bar still says example.com, even though I, correctly, get navigated to the new page corresponding to /info.

VRA
  • 21

0 Answers0