-
The format of the default FQDN is the following:
In this case, the FQDN (as well as the VM’s ID) is only known after the VM is created.
-
The format of a custom FQDN is the following:
You can set the hostname when you create or update a VM.
Prerequisites
- CLI
- Terraform
- Go SDK
- Python SDK
- JavaScript SDK
Install and configure the Nebius AI Cloud CLI.
How to get an FQDN
- Web console
- CLI
- Go SDK
- Python SDK
- JavaScript SDK
To get an FQDN of a VM:
- In the sidebar, go to Compute → Virtual machines.
- Select either the Standalone VMs or Kubernetes nodes tab.
- Open the page of the required VM.
- On the Overview tab, from the Network section, copy the FQDN value.
How to customize an FQDN
If you do not want to use the default FQDN, you can use your own hostname instead of the VM’s ID. To customize an FQDN, use thehostname parameter:
- Web console
- CLI
- Terraform
- Go SDK
- Python SDK
- JavaScript SDK
- Create a VM with a customized FQDN: In the VM creation wizard, on the Network step, in the Hostname field, select Custom and specify the hostname for the VM’s FQDN.
-
Change an FQDN of an existing VM:
- In the sidebar, go to Compute → Virtual machines.
- Select either the Standalone VMs or Kubernetes nodes tab.
- Open the page of the required VM.
- Go to the Settings tab.
- Modify the Hostname field.
- Click Save changes.
.).
For example, if you set hostname to my-host, the FQDN is the following:
hostname, the VM’s ID is used instead of the hostname, according to the default FQDN.