I have a Magento 2 store in Amazon cloud and I wanted to set a domain name. I set the A record in my domain name registrar as in the picture.

enter image description here when I type my URL, it forwards me to the shop but I see the IP address instead of Domain name.

enter image description here

  • after adding domain name in amazon cloud , have you change urls in magento database core_config_data table ? Feb 20, 2018 at 9:58
  • @ManthanDave That was easy and fast, thank you, could you answer it so I mark it as answer ?
    – bourax
    Feb 20, 2018 at 10:32

1 Answer 1


Its redirecting because you have replaced Domain with IP address in Amazon Cloud , But you forgot to replace this in Magento core_config_table.

So go to your magento database , open core_config_data and add domain in base_url "web/unsecure/base_url" AND "web/secure/base_url" it will works for you.

  • @bourax - Happy to help , Keep Helping :) Feb 20, 2018 at 10:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.