The device-domain command sets a domain name for the device.
The undo device-domain command deletes the configured domain name.
By default, no domain name is set for the device.
| Parameter | Description | Value |
|---|---|---|
| domain-name | Specifies a domain name. | The value is a case-insensitive string of 1 to 64 characters, for example, www.example.com. |
To effectively manage and properly allocate network access resources, set a network access resource quota and a reminder threshold. If the network access resource quota is exhausted or the usage of network access resources reaches the reminder threshold, the FW pushes a portal page to remind the user of the traffic usage. The portal page contains the FW's IP address.
The FW's domain name set in this command can replace the FW's IP address in the pushed portal page to prevent information disclosure. For example, the FW's IP address is 192.168.0.1, and the URL in the pushed portal page is http://192.168.0.1:8887/abc. After you set the device domain name to www.example.com, the URL in the portal page changes to www.example.com:8887/abc.