hi friends
how can i access sites from local network
i create 2 sites 1.site.com 2.site.com
the dns_multitenant on
i point domain name with A record to ip address
so from outside i can access to sites with no problem from local network i cant by domain name or ip address
Check the site port in site_config.json . And use this port to access from LAN:
xx.xx.xx.xx:port (xx = lan ip address) or 1.site.com:port
Usually, in dns multitenant scenario, port numbering starts in 8000 (8000 for the first site, 8001 the second, etc …).
Accesing from your own LAN with domain name can be restricted by router. Some configurations can’t manage access from your LAN to your own public IP address … In this case, edit your hosts file (/etc/hosts) and bind the site with the LAN IP. This way, your browser will be redirected to LAN instead routing to outside.
Check your firewall service in Ubuntu too, maybe some rule is avoiding connections from LAN .