- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-13-2024
06:23 AM
11-13-2024
06:23 AM
multi-wesbsite admin url not working
I have a 2 website under different domains
1. domain1
2. domain2
both websites working through nginx:443 with routing to nginx:80
server { listen 80; listen [::]:80; server_name domain1; set $MAGE_ROOT /opt/domain1/current; set $MAGE_RUN_TYPE "website"; set $MAGE_RUN_CODE "domain1"; include /opt/domain1/current/nginx.conf; }
server { listen 80; listen [::]:80; server_name domain2; set $MAGE_ROOT /opt/domain1/current; set $MAGE_RUN_TYPE "website"; set $MAGE_RUN_CODE "domain2"; include /opt/domain1/current/nginx.conf; }
all websites frontends works correctly, however admin works only from domain1 which is base_url in a scope of Default Config where base url is domain1
in a scope of website2 with domain2 admin not working
is it expectable? or what I'm doing wrong
domain1/admin - works
domain2/admin - doesn't work
in a scope of website2 with domain2 admin not working
is it expectable? or what I'm doing wrong
domain1/admin - works
domain2/admin - doesn't work
Labels:
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-19-2024
02:19 AM
11-19-2024
02:19 AM
Re: multi-wesbsite admin url not working
It is expected. It's scoping thing. Your administration's base URL is what is set on scope 0. There can only be one value in scope 0.
Founder at https://agency418.com