Create HTTP forward
create_forwardCreate a new HTTP forward for a domain host to a destination URL, redirecting or framing requests only when no existing forward or conflicting DNS record exists.
Instructions
Create a new HTTP forward for a domain. Fails if the host already has a forward or a conflicting A, AAAA, ANAME or CNAME record.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | the destination URL to forward requests to, starting with http:// or https:// | |
| host | Yes | the host/subdomain to forward, e.g. 'www' or '@' for the root | |
| frame | No | if true, show the destination in a frame instead of redirecting; defaults to false | |
| domain_id | Yes | the Domeneshop domain ID, from list_domains |