markshust / docker-magento

Mark Shust's Docker Configuration for Magento
https://m.academy/courses/set-up-magento-2-development-environment-docker/
MIT License
2.51k stars 992 forks source link

how to create multi website using magento docker #1190

Closed bhushanmeetanshi closed 1 month ago

bhushanmeetanshi commented 1 month ago

Description how to create multi website using magento docker

Steps To Reproduce

  1. goto store.
  2. create website.
  3. allow store code url from the store configurations.
  4. setup all config urls in DB.
  5. set up test website folder with index.php and htaccess file in root directory.
  6. executebin/magento c:f&& bin/magento c:ccommand.
  7. Check Front end URL magento.test/testwebsite.

Expected Result website should be created and accessible.

Actual Result showing 404 page

piotrkwiecinski commented 1 month ago

You can check my comment here https://github.com/markshust/docker-magento/pull/869#issuecomment-1640198793 and see if it helps. I use it for a couple years now.

bhushanmeetanshi commented 1 month ago

@YevhenZvieriev Do u have any idea how to create multi website in magento docker?

YevhenZvieriev commented 1 month ago

Hi, @bhushanmeetanshi

Answer @piotrkwiecinski didn't resolve your issue?

Feel free to check this one: https://courses.m.academy/courses/487758/lectures/14780970

I hope it will help you

bhushanmeetanshi commented 1 month ago

You can check my comment here #869 (comment) and see if it helps. I use it for a couple years now.

@piotrkwiecinski not able to find the path as per your mentioned comment. how can i configure and set the path of this given code. can share the steps for this. Failed to start docker

bhushanmeetanshi commented 1 month ago

Hi, @bhushanmeetanshi

Answer @piotrkwiecinski didn't resolve your issue?

Feel free to check this one: https://courses.m.academy/courses/487758/lectures/14780970

I hope it will help you

Thanks @YevhenZvieriev your solution is working for me. Thanks a lot for help.