---
title: Change Hostname
url: https://docs.vultr.com/products/compute/instances/bare-metal/management/change-hostname
description: Learn how to change the hostname on your Vultr Bare Metal server to improve system identification and network management.
publish_date: 2024-09-23T20:20:23.408985Z
last_updated: 2026-05-26T18:50:21.655978Z
---

# How to Manage Change the Hostname on a Vultr Bare Metal Instance

Changing the default hostname on an instance modifies the default server configuration and reinstalls the operating system.

Follow this guide to change the hostname on a Vultr Bare Metal instance using the Vultr Console, or Terraform.

=== "Vultr Console"

    1. Navigate to **Products** and click **Compute**.
    1. Click your target Bare Metal instance name to open its management page.
    1. Navigate to the **Settings** tab.
    1. Click **Change Hostname** on the left navigation menu.
    1. Replace the existing value with your new hostname.
    1. Check the confirmation prompt and click **Change Hostname** to apply your new hostname changes.

=== "Terraform"

    1. Open your Terraform configuration for the existing Bare Metal instance.

    1. Update the `hostname` value in the instance resource to the new hostname.  

        ```terraform
        resource "vultr_bare_metal_server" "bm1" {
            # ...existing fields (region, plan, label, os_id, etc.)

            hostname = "new-hostname"
        }
        ```

    1. Apply the configuration and observe the following output:

        ```
        Apply complete! Resources: 1 added, 0 changed, 1 destroyed.
        ```
