How to change default site

Hi

I have used “bench use” to set my default site as xxxx.local.

currentsite.txt shows xxxx.local

However when I type in the server IP on my web browser, it still shows the old site.

Can anyone advise me on this? Am i missing any step?

Thanks!

Hi,
use this command set-default-site command to set default site

for more command you can use command :-
bench --help

Assuming that you’ve already got your first site running and you’ve performed the production deployment steps, this section explains how to host your second site (and more). Your first site is automatically set as default site. You can change it with the command,

bench use sitename
1 Like