--- title: "Configuring Hostname" slug: "fmadio-os-custom-setting-hostname" updated: 2024-10-07T16:20:01Z published: 2024-10-07T16:20:01Z canonical: "docs.fmad.io/fmadio-os-custom-setting-hostname" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.fmad.io/llms.txt > Use this file to discover all available pages before exploring further. # Configuring Hostname Configuring a custom hostname is important in many environments. This is easily done by editing the file ```plaintext /opt/fmadio/etc/hostname ``` ## Step 1) Confirm current hosname The default hostname looks similar to below ```plaintext fmadio@fmadio200v4-636:/opt/fmadio/etc$ cat hostname fmadio200v4-636 fmadio@fmadio200v4-636:/opt/fmadio/etc$ ``` ## Step 2) Edit the hostname Edit the file to update the hostname as required ```plaintext sudo vi /opt/fmadio/etc/hostname ``` OR use nano ```plaintext sudo nano /opt/fmadio/etc/hostname ``` ## Step 3) Reboot to ensure hostname is persistent Reboot the system to ensure the name change is persistent ```plaintext sudo reboot ``` NOTE: /etc/hostname is volatile and will not be changed between reboots. It requires updating of /opt/fmadio/etc/hostname