I need to replace the hostname, I need a code

Hello guys, I want to replace the panel .domain .co with this panel .domain .shop, I need a code.

Via ssh

v-change-sys-hostname “newhostname”

You mean, put the code directly without root

You need to run as root or

sudo /usr/local/hestia/bin/v-change-sys-hostname “newhostname”

run as root…

Of course I did that but to no avail, same error

Could you please paste the output of the commands you are using and the system response?

I want to change the panel and activate SSL, old panel.domain.shop to panel.domain.co

how can I do that via ssh

@eris and @Raphael already said how… as root:

As a normal user with sudo privileges (execute the commands one by one):

sudo su -
/usr/local/hestia/bin/v-change-sys-hostname 'panel.domain.co'