Article ID: 4189, created on Mar 24, 2008, last review on Apr 17, 2012

  • Applies to:
  • Sphera

Symptoms

I can not add new secondary domain to the VDS - the button is disabled.

Resolution

After update Server Director 3.7 with UP1, a new feature was added - Domain Limitation:
This adds the capability of limiting the number of secondary domains added to VDS. A domains node is added to the

VDS's template in the hostdir.xml file:

<account_template
<domains
key="domains"
max_instances="-1" (0=unlimited, 1=not allowed)
gui_visible="false"/>
</account_template>

The domains node will be added for each VDS.
Each "add domain" operation will be validated comparing it to the max_instances value.
The new property will be provisioned only via API.

In order to update this parameter - use the following API command with the necessary number of instances.


 <API>
 <CMD
  cmd="set"
  keys_path="sphera\accounts\[VDS Name]\domains"
  max_instances="0"/>
</API>

5f478287f7e74fe9b07217d8131cd741 6311ae17c1ee52b36e68aaf4ad066387

Email subscription for changes to this article
Save as PDF