Loading...

Knowledge Base

Activate Domain Forwarding Service Using the API

When you want to activate or manage domain forwarding using the API. This article explains forwarding configuration options and API request details.

Activating the Domain Forwarding Service

 

Description

This API call can be used to Activate and Manage the Domain Forwarding service.

Parameters

NameData TypeRequired / OptionalDescription
auth-useridIntegerRequiredAuthentication Parameter
api-keyStringRequiredAuthentication Parameter
order-idIntegerRequiredThe Order Id for which Domain Forwarding service needs to be activated
sub-domain-prefixStringOptionalThe prefix for the sub-domain
forward-toStringRequiredURL where you want to forward your request.
url-maskingBooleanOptionalPossible values are true or false. If true passed, visitors will see the source URL and not the destination URL.
meta-tagsStringOptional

Sets META Tags and Page Title for the frames page which is sent to the visitor. eg. <title>Your Webpage title can be mentioned here</title><meta name="keywords" CONTENT="Your comma-separated keywords are entered here"><meta name="description" CONTENT="Enter website description here">

noframesStringOptional

Sets alternate <NOFRAMES> page content for search engines. Provide your HTML within <NOFRAMES></NOFRAMES> tags to set alternate page content.

sub-domain-forwardingBooleanOptionalPossible values are true or false. For e.g. if true passed, a request made to https://subdomain.domainname.com will be forwarded to https://destination-domainname.com/subdomain
path-forwardingBooleanOptionalPossible values are true or false. For e.g. if true passed, a request made to https://domainname.com/some/path will be forwarded to https://destination-domainname.com/some/path

HTTP Method

POST

Example Test URL Request

https://test.httpapi.com/api/domainforward/activate.json?auth-userid=0&api-key=key&order-id=0

Response

Returns a map containing status information.