CMDCommand · run as root on the server · domain family
urbestack-domain-set
First published 3 Oct 2026
0.1.0Unchanged since publicationUsage
# urbestack-domain-set --name DOMAIN [options] [--dry-run] --docroot PATH move the document root: an absolute path inside the owner's homeDescription
From the command's --help outputChanges settings for an existing domain and synchronizes the DNS zones UrbeStack manages. Select
the domain with --name and supply at least one setting. Use --dry-run to preview the
configuration diff.
Use --docroot to set the document root to an absolute path inside the domain owner's home
directory. UrbeStack creates the directory if it is missing. Set --www-alias to on or off to
control whether the site also answers to www.<domain>. Set --www-redirect to www or bare to
redirect visitors to that form of the domain name, or to none to disable the redirect. Set
--wildcard to on or off to control whether the site also answers to *.<domain>.
Set --directory-listing to on or off to control whether visitors see a file list when there is
no index page. Set --error-pages to on to serve errors/{403,404,500}.html from the document
root, or to off to disable those pages. Set --stats-enabled to on or off to control whether the
domain is included in the nightly statistics.
Set --ssl to auto to have UrbeStack obtain a certificate automatically, or to none to disable
automatic issuance. Set --challenge to http for HTTP-01 validation or dns for DNS-01 validation.
With --challenge auto, UrbeStack uses HTTP-01 unless the wildcard is enabled, in which case it
uses DNS-01. Once a certificate is installed, --force-https on redirects all visitors to HTTPS
and --hsts on tells browsers to keep using HTTPS. Set either option to off to disable it.
Use --php-version to select a PHP version such as 8.4. The version must be fully installed and
available for new selections. An administrator can hide a version from new selections. Version
selection is unavailable while a PHP installation is running. Pass an empty value to clear the
domain's PHP version selection.
Use --php-setting KEY=VALUE to override a setting for the domain's PHP-FPM pool. Repeat
--php-setting to set multiple overrides. Pass KEY= with an empty value to remove that override
and restore the server default.
The PHP-FPM process settings are pm.max_children, pm.process_idle_timeout in seconds, and
pm.max_requests. The php.ini settings are memory_limit, upload_max_filesize, post_max_size,
max_execution_time, max_input_vars, disable_functions, display_errors, and date.timezone. For
disable_functions, use a comma-separated list of function names or none.
Only an administrator can set open_basedir_tmp. Set it to on to include the shared /tmp
directory in the pool's open_basedir or to off to exclude it. It defaults to off for new
domains.Usage: urbestack-domain-set --name DOMAIN [options] [--dry-run]
--docroot PATH move the document root: an absolute path inside the owner's home
Changes settings for an existing domain and synchronizes the DNS zones UrbeStack manages. Select
the domain with --name and supply at least one setting. Use --dry-run to preview the
configuration diff.
Use --docroot to set the document root to an absolute path inside the domain owner's home
directory. UrbeStack creates the directory if it is missing. Set --www-alias to on or off to
control whether the site also answers to www.<domain>. Set --www-redirect to www or bare to
redirect visitors to that form of the domain name, or to none to disable the redirect. Set
--wildcard to on or off to control whether the site also answers to *.<domain>.
Set --directory-listing to on or off to control whether visitors see a file list when there is
no index page. Set --error-pages to on to serve errors/{403,404,500}.html from the document
root, or to off to disable those pages. Set --stats-enabled to on or off to control whether the
domain is included in the nightly statistics.
Set --ssl to auto to have UrbeStack obtain a certificate automatically, or to none to disable
automatic issuance. Set --challenge to http for HTTP-01 validation or dns for DNS-01 validation.
With --challenge auto, UrbeStack uses HTTP-01 unless the wildcard is enabled, in which case it
uses DNS-01. Once a certificate is installed, --force-https on redirects all visitors to HTTPS
and --hsts on tells browsers to keep using HTTPS. Set either option to off to disable it.
Use --php-version to select a PHP version such as 8.4. The version must be fully installed and
available for new selections. An administrator can hide a version from new selections. Version
selection is unavailable while a PHP installation is running. Pass an empty value to clear the
domain's PHP version selection.
Use --php-setting KEY=VALUE to override a setting for the domain's PHP-FPM pool. Repeat
--php-setting to set multiple overrides. Pass KEY= with an empty value to remove that override
and restore the server default.
The PHP-FPM process settings are pm.max_children, pm.process_idle_timeout in seconds, and
pm.max_requests. The php.ini settings are memory_limit, upload_max_filesize, post_max_size,
max_execution_time, max_input_vars, disable_functions, display_errors, and date.timezone. For
disable_functions, use a comma-separated list of function names or none.
Only an administrator can set open_basedir_tmp. Set it to on to include the shared /tmp
directory in the pool's open_basedir or to off to exclude it. It defaults to off for new
domains.Options
Find other commands that accept these optionsSame in the API
This operation runs the command.Generated from release 0.2.35 (current) · urbestack-domain-set --help outputThis entry has been unchanged since it was first published in release 0.1.0 on 3 Oct 2026.
urbestack.com/docs/commands/urbestack-domain-set/