CMDCommand · run as root on the server · domain family
urbestack-domain-add
First published 3 Oct 2026
0.1.0Unchanged since publicationUsage
# urbestack-domain-add --name DOMAIN --user NAME [--parent DOMAIN] [--system] [--php-version 8.4] [--template NAME] [--dry-run]Description
From the command's --help outputAdds a hosted domain to a customer account. UrbeStack creates its document root, Apache virtual host and PHP-FPM pool, and updates DNS and mail configuration. The name must be unique among domains and aliases on this server. Subdomains count toward the customer's package limit for domains. Use --parent to add a subdomain. The name must be below the parent's name in DNS, and both must belong to the same customer. Choose a standalone domain as the parent. Deleting the parent also deletes the subdomain. Use --php-version to select a version such as 8.4. The version must be installed and available for new domains. Wait for any PHP installation to finish before selecting a version. --template selects the Apache virtual host template and defaults to default. --dry-run previews the configuration changes as a diff. Use --system to host reserved names, the server's own names, names above or below them, or names in the server's own DNS zones. This option is also required for names above or below another account's domain or alias and for names that overlap another server's zone in the DNS distribution network. If this server holds the name's zone for a DNS client, --system takes over the zone for the new domain and blocks further updates from that client. When mail.unpointed_domains is set to refuse, the name must already point to this server unless you use --parent or --system.Usage: urbestack-domain-add --name DOMAIN --user NAME [--parent DOMAIN] [--system] [--php-version 8.4] [--template NAME] [--dry-run] Adds a hosted domain to a customer account. UrbeStack creates its document root, Apache virtual host and PHP-FPM pool, and updates DNS and mail configuration. The name must be unique among domains and aliases on this server. Subdomains count toward the customer's package limit for domains. Use --parent to add a subdomain. The name must be below the parent's name in DNS, and both must belong to the same customer. Choose a standalone domain as the parent. Deleting the parent also deletes the subdomain. Use --php-version to select a version such as 8.4. The version must be installed and available for new domains. Wait for any PHP installation to finish before selecting a version. --template selects the Apache virtual host template and defaults to default. --dry-run previews the configuration changes as a diff. Use --system to host reserved names, the server's own names, names above or below them, or names in the server's own DNS zones. This option is also required for names above or below another account's domain or alias and for names that overlap another server's zone in the DNS distribution network. If this server holds the name's zone for a DNS client, --system takes over the zone for the new domain and blocks further updates from that client. When mail.unpointed_domains is set to refuse, the name must already point to this server unless you use --parent or --system.
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-add --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-add/