If your question is what it sounds like, then you're looking for [DNS](https://lightsail.aws.amazon.com/ls/docs/en/articles/lightsail-how-to-create-dns-entry). Add an A record that points to the IP of your instance.
– Joseph MontanaroJun 03 '18 at 18:34
Hi @JosephMontanaro
I've done that too but upon typing the domain name, my website shows however it shows the IP and not the domain.
– Huzan ForbesJun 04 '18 at 18:58
Oh, my mistake. I think in that case you need to set the "base url" and "secure base url" settings in the Magento backend. Stores -> Configuration -> General -> Web. Also just a head-up, questions specific to Magento are probably better asked over on the [Magento SE](https://magento.stackexchange.com/), where people are more likely interpret your question as (and have effective answers for) a Magento question.
– Joseph MontanaroJun 04 '18 at 20:29