hosting
If the reseller is selling Web Hosting
Windows servers supports IIS URL Rewrite module. 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 web.config file under the site's directory and add the following lines to it. In case there already exists a web.config in your site's directory, carefully edit it to add these lines:
<common_name> needs to be replaced by the Common Name for which the Digital Certificate is issued.
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.
What is host file?
A hosts file is an address book, situated on your local desktop, that maps a host name to an IP address (network name resolution). Generally, a domain name (host name) is translated in to IP address via the DNS resolution process. However, the host entries that are present in this file will bypass this DNS resolution.
This can be of great help when:
-
You have modified the Name Servers, and are viewing the cached results due to the DNS propagation delay.
-
You are in process of migrating the hosting server, and want view the website on the new server when its still under development. This way you can preview the site in the developmental stage, whereas your visitors will continue to view the live website on the old server. Thus, the traffic to your site remains unaffected.
NoteYou can also use the Direct/Temp URL to preview the site on 's server.
Creating a hosts file
To view the results with such immediate effect, you can define a host/domain name in the hosts file.
For Windows
-
Go to C:\Windows\System32\drivers\etc and locate the hosts file.
-
Open it in any text editor like Notepad, Notepad++, etc.
-
Add your host entires as shown in the snapshot below and save the file.
For Linux
-
Locate the hosts file at /etc/hosts.
-
Run the below command to edit file:
vim /etc/hosts
-
Add your host entires as shown in the snapshot below and save the file.
You may also need to flush your DNS. Your website's IP address may be saved in your computer's cache. So you need to clear this temporary data so that the IP address you just entered into your hosts file will take effect. To do so:
For Windows
-
Click your Start Menu.
-
Go to Accessories and then click Command Prompt.
-
Run the below command:
C:\> ipconfig /flushdns
-
The output would be similar to:
For Linux
-
Login into the shell of your machine.
-
Run the below commands:
root@support [~]# cd /etc/rc.d/init.d
root@support [/etc/rc.d/init.d]# ./nscd restart
-
The output would be similar to:
If you have any browsers open, close them and then open them again. You should now be able to successfully test your website on your new server.
Description
Disables SSL for an existing Web Hosting Order. To learn more, click here.
This API call will not result in a refund being processed for disabling SSL.
Parameters
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. |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/webservices/disable-ssl.json?auth-userid=0&api-key=key&order-id=0
Response
Returns a map of the execution details of the disabling of SSL operation.
Description
Gets the DNS records of a Web Services (Email Hosting, Web Hosting and Website Builder) 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 Web Services (Email Hosting, Single Domain Hosting and Website Builder) Order |
HTTP Method
GET
Example Test URL Request
https://test.httpapi.com/api/webservices/dns-record.json?auth-userid=0&api-key=key&order-id=0
Response
Returns DNS records of the domain name.
has opened the following ports for outgoing connections on its Hosting Servers.
Plesk Single Domain Windows Hosting
-
53
-
1433
-
443
-
80
-
3306
Plesk Multi Domain Windows Hosting
-
53
-
1433
-
443
-
80
-
3306
cPanel Single Domain Linux Hosting
|
|
cPanel Multi Domain Linux Hosting
|
|
cPanel Reseller Linux Hosting
|
|
Description
Changes the hosting panel password of the specified Web Service 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 Web Service order whose hosting panel password needs to be changed. |
new-passwd | String | Required | New password. |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/webservices/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.
All websites hosted on 's Shared Web Hosting servers are actively monitored, to ensure that they do not impact the
performance of other websites hosted on the same server.
Some of the parameters that websites are monitored for, are:
-
Number of concurrent/simultaneous connections a website can make to the server,
-
CPU utilization in terms of a percentage of what is set aside for websites hosted on the server,
-
Memory utilization in terms of a percentage of what is set aside for websites hosted on the server,
-
Number of concurrent/simultaneous processes a user can run on the server,
-
Number of concurrent/simultaneous Database connections a website can make,
-
Number of queries that can be run on a Database in an hour's span.
If your website exceeds the above mentioned resources, we recommend shifting your site to a Dedicated server, as your
website's resource requirements are greater than those available in a shared environment.
Description
Enables SSL for an existing Web Hosting Order. To learn more, click here.
Parameters
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 enabled. |
invoice-option | String | Required | This parameter will decide how the Customer Invoices will be handled. Values can be: NoInvoice, PayInvoice, KeepInvoice, OnlyAdd |
HTTP Method
POST
Example Test URL Request
https://test.httpapi.com/api/webservices/enable-ssl.json?auth-userid=0&api-key=key&order-id=0&invoice-option=NoInvoice
Response
Returns a map of the execution details of the enabling of SSL operation.