what do i need to do so that i can access all the site in multitenancy while using the DNS mutitenancy because i can only access one site even after installing more sites.I’m currently doing it locally
Watch this video maybe it will help you
Thanks @Mohammadali i actually used this video to do the whole steup activity but i can only acces one site the new sites are not accessible. I have also edited the /etc/hosts file .
@Simon_Muturi1 What error occurs in the second site.
Do you access from IP
EX : http://127.0.0.1:8000/
i’m using site1.com:8000 but it opens the first site
@Simon_Muturi1 Migrate the batch once
Maybe It may come even if “currentsite.txt” file is not removed.
i’m still facing the same error , do you suggest i remove the current site ?
You need to do
bench setup nginx to generate new site web-proxy settings
then restart nginx to put it into effect.
Also did you do
multitenant on in config ? if yes then it will not work with ports it will only work with domains.
to use port you need multitenant config off.