Where is an error in my following steps for creating Multi Website Store ::
Steps :-
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)
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
Inside the subfolder Symbolic Liks:
- app,
- lib,
- pub,
- var
- index.php -> https://justpaste.it/8a9r5 (code)
- .htaccess -> https://justpaste.it/1louh (code)
Nginx Setup (Not sure right)
- etc/nginx/con.d/magento.conf
- https://justpaste.it/3xcn8 (code)
Site-Available setup (Not sure right)
- etc/site-available/magento.txt
- https://justpaste.it/1ozsu (code)
Url : http://192.168.1.64:8087/grocery (or) http://192.168.1.64:8087/gomart/grocery 404 error.