Skip to main content
Version: 1.7.50

Domain

opencli domain command is used to set domain name for accessing the OpenPanel and OpenAdmin interfaces.

View current setting:

opencli domain

Set domain:

opencli domain set <DOMAIN_NAME>

Example:

opencli domain set srv7.openpanel.org

--debug flag can be passed to dispaly verbose information as script is running.

Note: If domain is not pointed to the server via A record and SSL can not be generated, then http://IP will be used instead of https://DOMAIN.

Set IP address to be used instead of domain:

opencli domain set ip
Was this helpful?