I am having a lot of difficulty correctly setting up the multi store function.
This is the intended layout:
www.domain.com - store 1
www.domain.com/us - store 2
Both stores have 50% of the same products, but also 50% of the products are different. I have installed a multi-warehouse module for this.
I have created a sub-folder (not a subdomain) because this is the best way to operate the site for SEO. See below screenshot.
![Screen Shot 2019-03-26 at 12.36.46.png Screen Shot 2019-03-26 at 12.36.46.png](https://community.magento.com/t5/image/serverpage/image-id/12257i6E2710CC948BDB25/image-size/medium?v=v2&px=400)
I have created 2 websites, 2 stores and 2 store views and have configured the base URLs, added store code URLs (etc.) according to this guide: https://devdocs.magento.com/guides/v2.3/config-guide/multi-site/ms_websites.html
![Screen Shot 2019-03-26 at 12.36.08.png Screen Shot 2019-03-26 at 12.36.08.png](https://community.magento.com/t5/image/serverpage/image-id/12258i497FF4D0849AA613/image-size/large?v=v2&px=999)
When I try to visit the /us/ website domain, I receive this error:
![Screen Shot 2019-03-26 at 14.03.06.png Screen Shot 2019-03-26 at 14.03.06.png](https://community.magento.com/t5/image/serverpage/image-id/12259iA19D545FA8421EA1/image-size/large?v=v2&px=999)
Also, only the default domain appears in the store view list.
![Screen Shot 2019-03-26 at 12.44.31.png Screen Shot 2019-03-26 at 12.44.31.png](https://community.magento.com/t5/image/serverpage/image-id/12260iF21B6B8A00373617/image-size/medium?v=v2&px=400)
Here are my questions:
1. What is causing the fatal error?
2. Why are the other store views not appearing in the store view list?
3. Do I need to set up a new database for each website/store/store view?
Thanks in advance to anyone who can help.