2

Where is an error in my following steps for creating Multi Website Store ::

Steps :-

  1. Main website Path : usr/share/nginx/html/giri

    • Contains all magento files
    • Configuration in nginx.conf.sample for Multi-Website
    • nginx.conf.sample -> https://justpaste.it/97yki (code)
  2. Multi-Website Path : usr/share/nginx/html/giri/grocery

    • Created subfolder inside the root folder along with symbollice linksof app, lib, pub, var and copy index.php & .htaccess from root folder to subfolder
  3. Inside the subfolder Symbolic Liks:

  4. Nginx Setup (Not sure right)

  5. Site-Available setup (Not sure right)

Url : http://192.168.1.64:8087/grocery (or) http://192.168.1.64:8087/gomart/grocery 404 error.

8
  • Please include the nginx error as well here.
    – Nidheesh
    Commented Jun 26, 2020 at 9:29
  • In my case, Nginx configuration error, how to setup multi-website domain in Nginx?
    – zus
    Commented Jun 26, 2020 at 11:20
  • check your nginx error log file (/var/log/nginx/error.log) and post the error message here please.
    – Nidheesh
    Commented Jun 26, 2020 at 19:44
  • Pls check with my updated post, here my doubt about how to setup Nginx?
    – zus
    Commented Jun 27, 2020 at 2:44
  • Do you really need to setup the multisites in different directories?
    – Nidheesh
    Commented Jun 27, 2020 at 16:44

2 Answers 2

2
+25

Can you follow below blog they have setup this.

https://devdocs.magento.com/guides/v2.4/config-guide/multi-site/ms_nginx.html

0
2

for installation please follow the link,

Magento 2: How to configure Nginx to use multiple websites with sub-folder

you can also check the below link for your problem. Magento 2: How to configure Nginx to use multiple websites with sub-folder

Thank You.

0

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.