The std_fwd node is used to specify standard forwarding for sites within a subscription. When the user goes to a site on which the standard forwarding is set, Plesk redirects this user from the requested URL to the destination URL. This is done explicitly: the user sees the real ‘destination’ address in the path bar of the browser.
The std_fwd node is structured as follows:
common.xsd
).
The following sample packet specifies standard forwarding for a new site:
<packet>
<webspace>
<add>
<gen_setup>
<name>newdomain.com</name>
<customer-id>1234</customer-id>
<ip_address>123.123.123.123</ip_address>
<ip_address>2002:5bcc:18fd:c:123:123:123:123</ip_address>
<status>0</status>
</gen_setup>
<hosting>
<std_fwd>
<dest_url>www.olddomain.com</dest_url>
<ip_address>123.123.123.123</ip_address>
<ip_address>2002:5bcc:18fd:c:123:123:123:123</ip_address>
</std_fwd>
</hosting>
</add>
</webspace>
</packet>