Is it possible to configure a single installation of Magento 2 with different websites and different domains on different databases?


  • www.domain.com - magento 2 installation on database1 - website1
  • www.domain2.com on database2 - website2
  • www.domain3.com on database3 - website3

1 Answer 1


You can have multiple domain with multiple websites in a single Magento 2 installation but you can't have multiple databases.

Magento 2 EE you can split database but not for websites.

For your scenario maybe it makes sense to set up 3 differents magento installations.

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.