rhlinux
True if reseller signed up for any RH Linux Product (US or IN or UK)
A dedicated IP is not required for installing an SSL certificate on your Linux or Windows Shared Hosting packages since Server Name Indication (SNI) is supported on all our servers.
HTTP to HTTPS Redirection - Apache
By default, Linux Servers have the mod_rewrite module enabled. You can make use of this module to automatically redirect your visitors from HTTP to HTTPS.
Setting the HTTPS Redirection
-
Ensure that the Digital Certificate is properly installed on your Hosting Order, and the site is resolving on https://yourdomainname.com.
NoteYour site will work on https://yourdomainname.com or https://www.yourdomainname.com or https://subdomain.yourdomainname.com, depending on the Common Name for which you had the certificate issued. Resolving HTTPS on anything other than this Common Name would result in a certificate name mismatch error.
-
Create a .htaccess file under the site's directory and add the following lines to it. In case there already exists a .htaccess in your site's directory, carefully edit it to add these lines:
RewriteEngine On
RewriteCond %{HTTPS} off
RewriteRule (.*) https://%{REQUEST_URI} <common_name> needs to be replaced by the Common Name for which the Digital Certificate is issued.
Description
Gets the DNS records of a Reseller Linux Hosting Order.
Parameters
Name | Data Type | Required / Optional | Description |
---|---|---|---|
auth-userid | Integer | Required | Authentication Parameter |
api-key | String | Required | Authentication Parameter |
order-id | Integer | Required | Order ID of the Reseller Linux Hosting Order |
HTTP Method
GET
Example Test URL Request
US Server
https://test.httpapi.com/api/resellerhosting/linux/us/dns-record.json?auth-userid=0&api-key=key&order-id=0
UK Server
https://test.httpapi.com/api/resellerhosting/linux/uk/dns-record.json?auth-userid=0&api-key=key&order-id=0
India Server
https://test.httpapi.com/api/resellerhosting/linux/in/dns-record.json?auth-userid=0&api-key=key&order-id=0
Turkey Server
https://test.httpapi.com/api/resellerhosting/linux/tr/dns-record.json?auth-userid=0&api-key=key&order-id=0
Response
Returns DNS records of the domain name.
Please wait while you are redirected ....
Please wait while you are redirected ....
Description
Changes the hosting panel password of the specified Reseller Linux Hosting Order.
Parameters
Name | Data Type | Required / Optional | Description |
---|---|---|---|
auth-userid | Integer | Required | Authentication Parameter |
api-key | String | Required | Authentication Parameter |
order-id | Integer | Required | Order ID of the Reseller Linux Hosting Order whose hosting panel password needs to be changed. |
new-passwd | String | Required | New password. |
HTTP Method
POST
Example Test URL Request
US Server
https://test.httpapi.com/api/resellerhosting/linux/us/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
UK Server
https://test.httpapi.com/api/resellerhosting/linux/uk/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
India Server
https://test.httpapi.com/api/resellerhosting/linux/in/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
Turkey Server
https://test.httpapi.com/api/resellerhosting/linux/tr/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
Response
Returns status as success if the password is changed successfully.
Description
Generates the license key for the specified Reseller Linux Hosting Order. If already generated, will return the existing key.
Parameters
Name | Data Type | Required / Optional | Description |
---|---|---|---|
auth-userid | Integer | Required | Authentication Parameter |
api-key | String | Required | Authentication Parameter |
order-id | Integer | Required | The Order ID for which the license key to be generated. |
HTTP Method
POST
Example Test URL Request
US Server
https://test.httpapi.com/api/resellerhosting/linux/us/generate-license-key.json?auth-userid=0&api-key=key&order-id=0
UK Server
https://test.httpapi.com/api/resellerhosting/linux/uk/generate-license-key.json?auth-userid=0&api-key=key&order-id=0
India Server
https://test.httpapi.com/api/resellerhosting/linux/in/generate-license-key.json?auth-userid=0&api-key=key&order-id=0
Turkey Server
https://test.httpapi.com/api/resellerhosting/linux/tr/generate-license-key.json?auth-userid=0&api-key=key&order-id=0
Response
Returns status and generated license key of the specified Reseller Linux Hosting Order.