Actually i want two projects to run but i can run one at a time because of the same port.
How can i change the port of one project both can run at the same time.
Hi @Aditya_vig1,
DNS Multi-tenent SETUP of ERPNext:
- bench config dns_multitenant on
- bench new-site library.dev
- bench setup nginx
- sudo service nginx reload
- bench --site library.dev install-app library-management
- Repeat steps 2 - 5 for every other site you wish to create
just go in sudo nano /etc/hosts
and define the domain
for ex: 127.0.0.1 site.name
make sure site name and domain name must be same.
Make sure always file " currentsite.txt" should be black.
More details for check the reference.
Thank You!
1 Like
Hi @NCP
Thanks for this solution. I did it with other steps
- Edited Procfile and changed the port number.
- Edited common_site_config_file and changed all 3 redis port inside it. Also changed socketio_port and website_port inside it.
- And last went to config folder and matched redis port number with port number of common_site_config_file.
Please let me know if you have any thoughts on this.