Magento 2 redirect to localhost

I have install magento 2 on ubuntu in virtual box. and I have forward the port from host machine to virtual machine. but when I try to access magento it redirect to localhost. I'am able to access apache of ubuntu from my host. but magento is redirecting to localhost.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.