---
title: "EdgeOne – How to Configure the Hostname on EdgeOne"
slug: "how-to-configure-the-hostname-on-edgeone"
description: "NetworkDefense/EdgeOne/ready_to_release/HelpCenter"
tags: ["EdgeOne"]
updated: 2023-03-29T09:13:18Z
published: 2023-03-29T09:13:18Z
canonical: "help.txone.com/how-to-configure-the-hostname-on-edgeone"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://help.txone.com/llms.txt
> Use this file to discover all available pages before exploring further.

# How to Configure the Hostname on EdgeOne

### Summary

* * *
EdgeOne shell script provides commands for configuring the hostname.


### Applicable Version

* * *
All versions of EdgeOne

### Details

* * *
The following steps will guide you on how to configure the EdgeOne hostname.

**Step 1: List the Current EdgeOne Hostname**
List the current EdgeOne hostname. The default hostname is EdgeOne.
```
$ env ls
```
![image.png](https://cdn.document360.io/f5889a21-4b9d-49ff-a4a7-03538c6b843a/Images/Documentation/image%2878%29.png){height="" width="600"}

**Step 2: Configure the Hostname**
Configure the hostname command. Use a dash to combine the hostname and the IP Address if needed. The maximum hostname length is 64 characters.
```
$ env hostname <EdgeOne-HOSTNAME>-<EdgeOne-_IP>
```
Example Command:
```
$ env hostname EdgeOne01-10.7.19.61
```
![image.png](https://cdn.document360.io/f5889a21-4b9d-49ff-a4a7-03538c6b843a/Images/Documentation/image%2879%29.png){height="" width="600"}

**Step 3: List and Verify the EdgeOne Hostname**
Verify whether the hostname is changed accordingly.
```
$ env ls
```
![image.png](https://cdn.document360.io/f5889a21-4b9d-49ff-a4a7-03538c6b843a/Images/Documentation/image%2880%29.png){height="" width="600"}

**Step 4: Reload the Service**
Reload the service to make it effective. This step might take some time; wait until the “done”
string appears.
```
$ service reload
```
![image.png](https://cdn.document360.io/f5889a21-4b9d-49ff-a4a7-03538c6b843a/Images/Documentation/image%2882%29.png){height="" width="600"}

**Optional Step**
Enter the command to obtain the IP address of the EdgeOne machine.
```
$ iface ls
```
![image.png](https://cdn.document360.io/f5889a21-4b9d-49ff-a4a7-03538c6b843a/Images/Documentation/image%2883%29.png){height="" width="600"}

<br/>
For support assistance, please Contact Us at <u>support@txone.com</u> or your Support Provider.
