Managing domains

You can add more domains, as described in Configuring multitenancy. Also, you can edit, enable/disable, and delete the existing domains. Disabling and enabling domains allows or prohibits access to domains in the self-service panel.

Limitations

  • A domain cannot be deleted if it has projects.

To edit a domain name or description

Admin panel

  1. Go to the Settings > Projects and users screen.
  2. Click the ellipsis icon next to the domain, and then click Edit.
  3. Make the required changes, and then click Save.

Command-line interface

Use the following command:

vinfra domain set [--description <description>] [--name <name>] <domain>
--description <description>
Domain description
--name <name>
Domain name
<domain>
Domain ID or name

For example, to add a description for the domain mydomain, run:

# vinfra domain set mydomain --description "A custom domain"

To enable or disable a domain

Admin panel

  1. Go to the Settings > Projects and users screen.
  2. Click the ellipsis icon next to the domain, and then click Edit.

Command-line interface

Use the following command:

vinfra domain set [--enable | --disable] <domain>
--enable
Enable domain
--disable
Disable domain
<domain>
Domain ID or name

For example, to disable the domain mydomain, run:

# vinfra domain set mydomain --disable

To delete a domain

Admin panel

  1. Go to the Settings > Projects and users screen.
  2. Click the ellipsis icon next to the domain, and then click Delete.

Command-line interface

Use the following command:

vinfra domain delete <domain>
<domain>
Domain ID or name

For example, to delete the domain mydomain, run:

# vinfra domain delete mydomain