CentralNic Reseller Homepage
CentralNic Reseller Homepage

AddWebFwd

AddWebFwd offers forwarding as unmasked permanent 301 redirect (RD), masked frame redirect (MRD) and redirect to static content (SELF). The static content can be used for minisites. Keeping requested URL paths and parameters and forwarding them to the target is optionally possible.

Possible Gateways

The command AddWebFwd is available via the following gateways:

Required Parameters

The following parameters are standard parameters for this command.

Command

COMMAND = AddWebFwd
SOURCE  = [TEXT]
TARGET  = [TEXT]
TYPE    = RD | MRD | SELF
CLTRID  = [TEXT]

Response

code                = [INT]
description         = [TEXT]
property[CLTRID][0] = [TEXT]
property[SVTRID][0] = [TEXT]

Attributes

SOURCEZone to be forwarded
TARGETTarget of the forwarding
TYPEType of forward: RD 301 redirect | MRD frame redirect | SELF static content; When TYPE is SELF it can not be used with TARGET
CLTRIDUnique identifier for this request, must be changed with every request, the default is auto-generated (optional)
CLTRIDThe transaction - ID given in the request where this response is the answer for; Will only be returned if a CLTRID was given in the request
SVTRIDA unique ID for this request generated by the server; Will only be returned if a CLTRID was given in the request

Optional

The following parameters are optional for this command.

Command

COMMAND = AddWebFwd
SOURCE  = somedomain.tld
TARGET  = theotherdomain.tld
TYPE    = RD | MRD | SELF
KEEPURIPATH = 0 | 1
CONTENT0 = <html>
CONTENT1 = <head> ... </head>
CONTENT2 = <body> ... </body>
CONTENT3 = </html>
CLTRID  = [TEXT]

Response

code                = [INT]
description         = [TEXT]
property[CLTRID][0] = [TEXT]
property[SVTRID][0] = [TEXT]

Attributes

TYPEType of forward: RD 301 redirect | MRD frame redirect | SELF static content; When TYPE is SELF it can not be used with TARGET
KEEPURIPATHKeep URI path while redirecting to forwarding target.
CONTENTXUp to 2048 lines of static HTML code. Can only be used when TYPE is SELF

We domains
-