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>184.108.40.206</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>220.127.116.11</ip_address> <ip_address>2002:5bcc:18fd:c:123:123:123:123</ip_address> </frm_fwd> </hosting> </add> </webspace> </packet>
Leave your feedback on this topic here
If you have questions or need support, please visit the Plesk forum or contact your hosting provider.
The comments below are for feedback on the documentation only. No timely answers or help will be provided.