Hosting Settings

Hosting settings define what type of hosting is provided with a subscription. They are described by two data types.

Both data types are similar, except they specify their vrt_hst nodes using different data types. The graphical representation of these nodes is as follows:

Hosting Settings

The graphical representation of the vrt_hst node is as follows:

HostingSettings_Descriptor

Note: You can specify multiple property parameters in one vrt_hst node.

The following code represents FTP login parameter:

<vrt_hst>
	<property>
   	<name>ftp_login</name>
		<value>mylogin</value>
	</property>
	<property>
		<name>ftp_password</name>
		<value>mypassword</value>
	</property>
	<ip_address>123.123.123.123</ip_address>
	<ip_address>2002:5bcc:18fd:c:123:123:123:123</ip_address>
</vrt_hst>

Note: To manage hosting settings, you should first retrieve a hosting settings descriptor, containing names of the settings. For details, refer to the Retrieving Descriptor of Hosting Settings section.

The following example is used to change the IP address of a subscription.

<packet version="1.6.7.0">
<webspace>
   <set>
      <filter>
        <name>moodletest2.test</name>
      </filter>
   <values>
      <hosting>
         <vrt_hst>
           <ip_address>10.39.81.10</ip_address>
         </vrt_hst>
      </hosting>
   </values>
   </set>
</webspace>
</packet>

Next in this section:

Node std_fwd

Node frm_fwd