The frm_fwd node is used to specify frame forwarding for sites within a subscription. When the user goes to such site on which frame forwarding is set, Plesk redirects this user from the requested URL to the ‘destination’ URL implicitly (the user still sees the initial URL in the path bar of the browser).
- The dest_url node is required. It specifies the URL to which the user will be redirected implicitly at the attempt to visit the specified site. Data type: forwardingUrl (string, 1 to 255 characters long, spaces not allowed).
- The ip_address node is required. It specifies the IP address associated with the site. You can provide either one ip_address node for the site's IPv4 or IPv6 address or two such nodes for both of them. Data type: ip_address (
The following sample packet specifies frame forwarding for a new site:
<packet> <webspace> <add> <gen_setup> <name>newsite.com</name> <owner-id>1234</owner-id> <ip_address>22.214.171.124</ip_address> <ip_address>2002:5bcc:18fd:c:123:123:123:123</ip_address> <status>0</status> </gen_setup> <hosting> <frm_fwd> <dest_url>www.testsite.com</dest_url> <ip_address>126.96.36.199</ip_address> <ip_address>2002:5bcc:18fd:c:123:123:123:123</ip_address> </frm_fwd> </hosting> </add> </webspace> </packet>
Leave your comments on this page
Leave your feedback or question on this documentation topic below. For technical assistance, contact your hosting service provider or submit a request to Plesk support. Suggest new features for Plesk here. Discuss general questions on the Plesk forum. All offtopic comments will be removed.