How to change the current site?

Hai All,

My server is having two sites as site1.local and in developer mode.

Currently site1.local is running at

I’d like to change the site to so that I can access

How do I can achieve this scenario?

@kumar, bench use

I have the same scenario but in my case i would like to transfer erpnext from the current site site1.local to a new site site without installing erpnext afresh. Is this possible? How do i do this? Please help