I have an an Apache web server running on AWS EC2 instance serving a fresh Magento 2.3 installation. I want this one M2 instance to serve multiple stores across multiple domains. For example: www.coolbooks.com -> serves coolBooks store www.coolTshirts.com -> serves coolTshirts store Apache on that one Ec2 server should serve those two domains.

I know how to set up the different websites and stores on the Magento admin site, but I am clueless on how to configure this via Apache and AWS.

I have read and follow the related documentation here but that did not work for me. It would redirect me to these domains in the browser but did not serve any pages. I suspect DNS issues.

Is there a way to do this?


Your Answer

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