Retrieve host records for email and name and IP of the Web hosting server for a Web hosting account.


Use this command to retrieve host records used in email applications.

Use this command to retrieve the name and IP address of the Web hosting server for a Web hosting account.


All resellers have access to this command.

Implementation on eNom.com

This command is not implemented on enom.com.


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.

Input parameters

Build the query string using this syntax:

command=nameofcommand&uid=yourloginid&pw=yourpassword &paramname=paramvalue&nextparamname=nextparamvalue


Parameter Status Description Max Size
UID Required Account login ID 20
PW Required Account password 20
HostAccount Required Name of Web hosting account 14
ResponseType Optional Format of response. Options are Text (default), HTML, or XML. 4


Returned parameters and values

Parameter Description
AccountStatusID Status of this Web hosting account:
1 Host account is active
2 Account disabled for exceeding allowed monthly bandwidth
3 Account disabled for exceeding the 3000GB bandwidth limit
4, 5, 6, 7 Account disabled; contact customer service
DomainName Name of the first domain that was associated with this Web hosting account
POPCName Host record for setting POP mail destination
SMTPCName Host record for setting SMTP destination
WebMailCName Host record for setting Web mail destination
MXCName Host record for setting MX (EasyMail) destination
HostRecordCount Number of host records for DomainName, including www but not @
HostName Name of the Web hosting server for HostAccount
HostURI URI to Web hosting account. Format is HostName.ehost–servicesNNN.com
ServerIP IP address of the Web hosting server for HostAccount
IISSiteID IIS site ID number
BaseURL Base URL
Version Version
AvailableServer IP address to this Web hosting server
ServerType Operating system of this Web hosting server
WebHostID Identification number of this Web hosting server account
LanguageCountryID Identification number of this language/country
LanguageDesc Name of this language-country pair
CountryDesc Name of this country
LanguageCode Code for this language
CountryCode Code for this country
HasWSC Does this Web hosting account include WSC?
WSCVersion What version of WSC does this Web hosting account include?
WSCLaunchURL Launch URL for the WSC account attached to this Web hosting account
AccountName Account name of this Web hosting account
Password Password for this Web hosting account
FTPRoot Root FTP folder for this Web hosting account
FTPHost Address of the FTP server for this Web hosting account
VersionID Version identification number
WebSiteID Web site identification number
UILanguageCountryCode Language–country code for UI text
UILanguage Language for UI
ProductID Product identification number
ProductName Product name
ProdType Product identification number
Price Wholesale price you pay for this product
CurrentVersion Is this the current version?
Successful Success status of this 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.