How To Create Multiple Instances On Same IP?
Thanks For Your Time , But My questions is that How CAn I create Multiple Instances On Single IP .? for exaample 127.0.0.1 :81 and 127.0.0.1 :80 … How Can I create Like This?
The manual that you were referred to by Pawan above explains it perfectly
Port based multitenancy
You can create a new site and make run it on a different port (while the first one runs on port 80).
Switch off DNS based multitenancy (once)
bench config dns_multitenant off
Create a new site
bench new-site site2name
Set port
bench set-nginx-port site2name 82
Re generate nginx config
bench setup nginx
Reload nginx
sudo service nginx reload
2 Likes
okay Thanku So Much ,I really Apprecite You For Quick Response.
well explained (y)