# Change hostname

**URL:** <https://forum.hestiacp.com/t/change-hostname/15613>\
**Category:** Community Support\
**Created:** [August 24, 2024, 3:15pm UTC](https://forum.hestiacp.com/t/change-hostname/15613 "2024-08-24T15:15:02Z")\
**Posts on this page:** 14\
**Page:** 1

<div class="post-metadata">

**Author:** ![DROZO](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/drozo/32/7117_2.png) [@DROZO](https://forum.hestiacp.com/u/DROZO)\
**Post date:** [August 24, 2024, 3:15pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/1 "2024-08-24T15:15:02Z")

</div>

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](http://control.mydomain.com) - Hestia Control Panel

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 24, 2024, 3:18pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/2 "2024-08-24T15:18:44Z")

</div>

Hi @DROZO,

You need to change the server’s hostname.

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

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

```

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

---

<div class="post-metadata">

**Author:** ![DROZO](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/drozo/32/7117_2.png) [@DROZO](https://forum.hestiacp.com/u/DROZO)\
**Post date:** [August 24, 2024, 3:27pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/3 "2024-08-24T15:27:39Z")

</div>

> [@sahsanu](#):
>
> `v-change-sys-hostname control.mydomain.com`

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.  
 ![Captura de pantalla 2024-08-24 102811](https://forum.hestiacp.com/uploads/default/original/2X/a/a5dffb9bac88d7e4fcd28056d31913f7be69d1e6.png)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 24, 2024, 3:33pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/4 "2024-08-24T15:33:12Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DROZO](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/drozo/32/7117_2.png) [@DROZO](https://forum.hestiacp.com/u/DROZO)\
**Post date:** [August 24, 2024, 3:45pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/5 "2024-08-24T15:45:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 24, 2024, 3:53pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/6 "2024-08-24T15:53:19Z")

</div>

It still shows racknerd in title.

Show the output of these commands:

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

```

---

<div class="post-metadata">

**Author:** ![DROZO](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/drozo/32/7117_2.png) [@DROZO](https://forum.hestiacp.com/u/DROZO)\
**Post date:** [August 24, 2024, 4:05pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/7 "2024-08-24T16:05:27Z")

</div>

> [@sahsanu](#):
>
> ```auto
> hostname -f
> php -r 'echo gethostname();'
> 
> ```

Hello, I get this

 ![Captura de pantalla 2024-08-24 110549](https://forum.hestiacp.com/uploads/default/original/2X/a/aae6cf87dc34f127fd9fefca9b8a15460bda7f3e.png)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 24, 2024, 4:05pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/8 "2024-08-24T16:05:48Z")

</div>

Also check the configured `Title` in White Label section.

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

```

 ![imagen](https://forum.hestiacp.com/uploads/default/original/2X/2/26a2a4363ea97d618dc066b89d31014252690f77.png)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 24, 2024, 4:08pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/9 "2024-08-24T16:08:03Z")

</div>

`hostname -f` should show the right hostname too.

```auto
grep -r racknerd /etc/

```

---

<div class="post-metadata">

**Author:** ![DROZO](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/drozo/32/7117_2.png) [@DROZO](https://forum.hestiacp.com/u/DROZO)\
**Post date:** [August 24, 2024, 4:08pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/10 "2024-08-24T16:08:43Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 24, 2024, 4:10pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/11 "2024-08-24T16:10:08Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![DROZO](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/drozo/32/7117_2.png) [@DROZO](https://forum.hestiacp.com/u/DROZO)\
**Post date:** [August 24, 2024, 4:24pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/12 "2024-08-24T16:24:41Z")

</div>

> [@sahsanu](#):
>
> `grep -r racknerd /etc/`

Hello, I get this

 ![image](https://forum.hestiacp.com/uploads/default/original/2X/e/edc9a6c81bb1dc0fed6953535613b0c352e21c00.png)

---

<div class="post-metadata">

**Author:** ![sahsanu](https://forum.hestiacp.com/user_avatar/forum.hestiacp.com/sahsanu/32/9318_2.png) [@sahsanu](https://forum.hestiacp.com/u/sahsanu)\
**Post date:** [August 24, 2024, 4:30pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/13 "2024-08-24T16:30:04Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://forum.hestiacp.com/uploads/default/original/1X/d9a5b68bf50ced83e880b56452e592b204761b19.png) [@system](https://forum.hestiacp.com/u/system)\
**Post date:** [September 23, 2024, 4:30pm UTC](https://forum.hestiacp.com/t/change-hostname/15613/14 "2024-09-23T16:30:42Z")

</div>

Closed on September 23, 2024, 4:30pm UTC

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