Hi,
how do I change the domain of a website?
Thanks
Hi,
how do I change the domain of a website?
Thanks
This is what I have found now:
v-change-web-domain-name
Options: USER DOMAIN NEW_DOMAIN [RESTART]
Examples:
v-change-web-domain-name alice wonderland.com lookinglass.com yes
.
Ok, but then my question is: how do I navigate in the CLI to the folder, in which I have to execute the command?
Where shall I navigate?
(I have a few sites running)
/usr/local/hestia/bin/v-change-domain-name user domain.com new-domain.com restar
t
Sry, but I receive:
v-change-domain-name: command not found
Use full path
/usr/local/hestia/bin/command-here
It is: v-change-web-domain-name
Ok, this time I only have the output:
Error: invalid restart format :: restart
restart should be yes / no
Ok. seems everything worked, now just need to restart.
What shall I type in?
Thanks by the way.
Hi, shall I restart apache & nginx (both)?!
Both also php-fpm
Can I restart all at once,
Is there a command for this?
And btw:
Will the SSL certificate be renewed automatically?
I still have the old one displaying, and there is no option to force to renew it in the hestia CP.
I think you need to delete the current one and generate a new one…
ok,
for sure via CLI , right … ; )
No can be also done via the panel …
don’t see any option for this, I must say.
Cannot restart nginx now, as I have the following error:
cannot load certificate
“/home/username/conf/web/newdomaniname/ssl/newdomainname.com.pem” BIO_new_file () failed
.
How can I update SSL cert in hestia CP?
I see no options.
(or, via CLI)
Thank you
Just disable and reenable SSL to generate new one…