--- title: "How to set up the network and change the hostname" slug: "installation-how-to-set-up-the-network-and-change-the-hostname" updated: 2026-11-03T14:48:02Z published: 2026-11-03T14:48:02Z canonical: "docs.senhasegura.io/installation-how-to-set-up-the-network-and-change-the-hostname" --- > ## Documentation Index > Fetch the complete documentation index at: https://docs.senhasegura.io/llms.txt > Use this file to discover all available pages before exploring further. # How to set up the network and change the hostname This guide provides step-by-step instructions for setting up the network and changing the hostname of your Segura™ application. ## Requirements - You must have the Segura™ application virtual appliance installed in your virtualizer or your cloud services provider. More information in [Virtual Appliances](/v4-2/docs/installation-virtual-appliances). ## How to set up the network and change the hostname To set up the network and change the hostname of your Segura™ VM, follow these steps: 1. [Start a SSH session using Segura™’s administrative user](/v4-2/docs/administration-ssh-access). 2. To change the default hostname of your Segura™ instance, run the following command replacing `<new_hostname>` with your desired hostname: ``` $ sudo orbit hostname ``` Caution Modifying the hostname is essential for generating a valid application activation code. 3. Run the following command to set up the primary network interface: ``` $ sudo orbit network ``` 4. You’ll be prompted to enter the following information: - **IP Address**: enter the desired IP address. - **Netmask**: enter the netmask address. - **Gateway**: enter the gateway address. 5. Ensure the details are entered correctly and type `Y`. Upon successful configuration, a confirmation message will be displayed, indicating a successful setup. 6. Once you’ve completed the network interface configurations and changed the hostname, reboot the Segura™ instance: ``` $ sudo shutdown --reboot ```