What is SNI?
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.
True if reseller signed up for any MDH 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.
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.
Ensure that the Digital Certificate is properly installed on your Hosting Order, and the site is resolving on https://yourdomainname.com.
Your 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://
<common_name> needs to be replaced by the Common Name for which the Digital Certificate is issued.
Disables SSL for an existing Multi Domain Linux Hosting Order. To learn more, click here.
This API call will not result in a refund being processed for disabling SSL.
Name | Data Type | Required / Optional | Description |
---|---|---|---|
auth-userid | Integer | Required | Authentication Parameter |
api-key | String | Required | Authentication Parameter |
order-id | Integer | Required | The OrderId for which SSL needs to be disabled. |
POST
US, Texas Server
https://test.httpapi.com/api/multidomainhosting/disable-ssl.json?auth-userid=0&api-key=key&order-id=0
US, California Server
https://test.httpapi.com/api/multidomainhosting/linux/us/ca/disable-ssl.json?auth-userid=0&api-key=key&order-id=0
UK Server
https://test.httpapi.com/api/multidomainhosting/linux/uk/disable-ssl.json?auth-userid=0&api-key=key&order-id=0
India Server
https://test.httpapi.com/api/multidomainhosting/linux/in/disable-ssl.json?auth-userid=0&api-key=key&order-id=0
Hong Kong Server
https://test.httpapi.com/api/multidomainhosting/linux/hk/disable-ssl.json?auth-userid=0&api-key=key&order-id=0
Turkey Server
https://test.httpapi.com/api/multidomainhosting/linux/tr/disable-ssl.json?auth-userid=0&api-key=key&order-id=0
Returns a map of the execution details of the disabling of SSL operation.
Gets the DNS records of a Multi Domain Linux Hosting Order.
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 Multi Domain Linux Hosting Order |
GET
US, Texas Server
https://test.httpapi.com/api/multidomainhosting/linux/us/dns-record.json?auth-userid=0&api-key=key&order-id=0
US, California Server
https://test.httpapi.com/api/multidomainhosting/linux/us/ca/dns-record.json?auth-userid=0&api-key=key&order-id=0
UK Server
https://test.httpapi.com/api/multidomainhosting/linux/uk/dns-record.json?auth-userid=0&api-key=key&order-id=0
India Server
https://test.httpapi.com/api/multidomainhosting/linux/in/dns-record.json?auth-userid=0&api-key=key&order-id=0
Hong Kong Server
https://test.httpapi.com/api/multidomainhosting/linux/hk/dns-record.json?auth-userid=0&api-key=key&order-id=0
Turkey Server
https://test.httpapi.com/api/multidomainhosting/linux/tr/dns-record.json?auth-userid=0&api-key=key&order-id=0
Returns DNS records of the domain name.
Changes the hosting panel password of the specified Multi Domain Linux Hosting Order.
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 Multi Domain Linux Hosting Order whose hosting panel password needs to be changed. |
new-passwd | String | Required | New password. |
POST
US, Texas Server
https://test.httpapi.com/api/multidomainhosting/linux/us/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
US, California Server
https://test.httpapi.com/api/multidomainhosting/linux/us/ca/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
UK Server
https://test.httpapi.com/api/multidomainhosting/linux/uk/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
India Server
https://test.httpapi.com/api/multidomainhosting/linux/in/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
Hong Kong Server
https://test.httpapi.com/api/multidomainhosting/linux/hk/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
Turkey Server
https://test.httpapi.com/api/multidomainhosting/linux/tr/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1
Returns status as success if the password is changed successfully.
Gets the details of an existing Multi Domain Linux Hosting Order.
Name | Data Type | Required / Optional | Description |
---|---|---|---|
auth-userid | Integer | Required | Authentication Parameter |
api-key | String | Required | Authentication Parameter |
order-id | Integer | Required | The OrderId for which the details to be fetched. |
GET
US, Texas Server
https://test.httpapi.com/api/multidomainhosting/linux/us/details.json?auth-userid=0&api-key=key&order-id=0
US, California Server
https://test.httpapi.com/api/multidomainhosting/linux/us/ca/details.json?auth-userid=0&api-key=key&order-id=0
UK Server
https://test.httpapi.com/api/multidomainhosting/linux/uk/details.json?auth-userid=0&api-key=key&order-id=0
India Server
https://test.httpapi.com/api/multidomainhosting/linux/in/details.json?auth-userid=0&api-key=key&order-id=0
Hong Kong Server
https://test.httpapi.com/api/multidomainhosting/linux/hk/details.json?auth-userid=0&api-key=key&order-id=0
Turkey Server
https://test.httpapi.com/api/multidomainhosting/linux/tr/details.json?auth-userid=0&api-key=key&order-id=0
Returns the details of an existing Multi Domain Linux Hosting order.
Use this method to get details of the pricing for the Multi Domain Linux Hosting plans.
Returns a map with the prices of the Multi Domain Linux Hosting plans along with the prices of the other products.
The response structure for the Multi Domain Linux Hosting will be:
"productkey":
{
"planid":
{
"action":
{
"tenure-in-months":price
},
"ssl":price
}
}
Example:
US, Texas Server
"multidomainhosting":
{
"1":
{
"renew":
{
"3":0.0,
"12":0.0
},
"ssl":0.0,
"add":
{
"3":0.0,
"12":0.0
}
},
"2":
{
"renew":
{
"3":0.0,
"12":0.0
},
"add":
{
"3":0.0,
"12":0.0
}
}
}
US, California Server
"multidomainhostinglinuxusca":
{
"1":
{
"renew":
{
"3":0.0,
"12":0.0
},
"ssl":0.0,
"add":
{
"3":0.0,
"12":0.0
}
},
"2":
{
"renew":
{
"3":0.0,
"12":0.0
},
"add":
{
"3":0.0,
"12":0.0
}
}
}
UK Server
"multidomainhostinglinuxuk":
{
"1":
{
"renew":
{
"3":0.0,
"12":0.0
},
"ssl":0.0,
"add":
{
"3":0.0,
"12":0.0
}
},
"2":
{
"renew":
{
"3":0.0,
"12":0.0
},
"add":
{
"3":0.0,
"12":0.0
}
}
}
India Server
"multidomainhostinglinuxin":
{
"1":
{
"renew":
{
"3":0.0,
"12":0.0
},
"ssl":0.0,
"add":
{
"3":0.0,
"12":0.0
}
},
"2":
{
"renew":
{
"3":0.0,
"12":0.0
},
"add":
{
"3":0.0,
"12":0.0
}
}
}
Hong Kong Server
"multidomainhostinglinuxhk":
{
"1":
{
"renew":
{
"3":0.0,
"12":0.0
},
"ssl":0.0,
"add":
{
"3":0.0,
"12":0.0
}
},
"2":
{
"renew":
{
"3":0.0,
"12":0.0
},
"add":
{
"3":0.0,
"12":0.0
}
}
}
Turkey Server
"multidomainhostinglinuxtr":
{
"1":
{
"renew":
{
"3":0.0,
"12":0.0
},
"ssl":0.0,
"add":
{
"3":0.0,
"12":0.0
}
},
"2":
{
"renew":
{
"3":0.0,
"12":0.0
},
"add":
{
"3":0.0,
"12":0.0
}
}
}