Add a domain header (a pointer that associates a domain name with a specific location in your Web hosting directory structure), or redirect a domain header from one directory to another within your Web hosting account.


Use this command to change the path to the content displayed for your Web site.

Note that if you modify a domain header, all host records associated with the domain header are deleted.


All resellers have access to this command.

Implementation on

Log on to with Login ID resellid, password resellpw.

The add button calls the ModifyDomainHeader command.


The query must meet the following requirements:

  • The login ID and password must be valid.
  • The Web hosting account must belong to this domain name account.
  • The directory (domain header) you want to move the domain to must already exist.
  • The domain designated by the SLD and TLD parameters must be hosted by us.
  • If we are the registrar for this domain, it must be in this account.

Input parameters

Build the query string using this syntax:


Parameter Status Description Max Size
UID Required Account login ID 20
PW Required Account password 20
HostAccount Required Web hosting account name 14
Directory Optional Directory in the Web hosting account to add a domain header to. This parameter is necessary only if you want host records to point to a different page than the home page in your root directory. Supply the directory name; no leading slash is needed. 213
SLD Required Second-level domain name (for example, enom in 63
TLD Required Top-level domain name (extension) 15
ResponseType Optional Format of response. Options are Text (default), HTML, or XML. 4


Returned parameters and values

Parameter Description
Successful Success status of the query
Command Name of command executed
ErrCount The number of errors if any occurred. If greater than 0 check the Err(1 to ErrCount) values.
Err(x) Error messages explaining the failure. These can be presented as is back to the client
Done True indicates this entire response has reached you successfully



  • The default response format is plain text. To receive the response in HTML or XML format, send ResponseType=HTML or ResponseType=XML in your request.
  • Check the return parameter ErrCount. If greater than 0 the transaction failed. The parameterErr(ErrCount) can be presented to the client. Otherwise process the returned parameters as defined above.