Change hostname

Hello, I would like your help, it is not the first time I install Hestia but this time, the title is like this:

USER - racknerd-****** - Hestia Control Panel

And I would not like that usually came out that USER - control.mydomain.com - Hestia Control Panel

Hi @DROZO,

You need to change the server’s hostname.

As root use this command (replace control.mydomain.com by the real one):

v-change-sys-hostname control.mydomain.com

Note: be sure control.mydomain.com points to your server’s public ip.

1 Like

Hello, I understand, I just tried that but I get error because that is already defined, it makes me strange that this defined but in the title is not like that.

If you remove the Cloudflare’s proxy you see the same title?

I have already deactivated it and I will wait for the changes to propagate.

It still shows racknerd in title.

Show the output of these commands:

hostname -f
php -r 'echo gethostname();'

Hello, I get this

Also check the configured Title in White Label section.

Server Settings -> White Label -> General -> Title

hostname -f should show the right hostname too.

grep -r racknerd /etc/

Hello, perfect, thank you very much with the whitelabel option I solved it.

You are welcome but please, check the last command because it should show the right hostname instead of racknerd.

Hello, I get this

I would edit /etc/exim4/update-exim4.conf.conf /etc/hosts and /etc/mailname and would remove/replace racknerd by the right one.

2 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.