List Current Hostname

Odd question here, but is there a CLI command to display the host’s hostname? I have a Hestia install that didn’t automatically update the LE Host Cert, but when I try to use “v-update-host-certificate admin xxx.xxxxxxx.xxx” it claims, “Error: web domain xxx.xxxxxx.xxx does not exist”.

What am I missing here?

And web domain xxx.xxxxxx.xxx exists under user admin?

v-search-object xxx.xxxxxx.xxx

Actually, no. It did exist under another user however – so I figured out my issue, very quickly! Duh!

Thanks for your reply. I am all set now.

“v-search-object” is a VERY handy command though – I’ll keep that around for future use.

1 Like

Also did find where you can view/edit the hostname for HestiaCP. It’s found here:

SERVER-SETTINGS > CONFIGURE > BASIC OPTIONS

…just in case this will help anyone else, further down the road.