cPanel Integration Global DNS Services Reseller Portal WHMCS Integrated

 
Reseller Panel - The better way to resell cPanel hosting
 

Reseller Panel

Reseller Panel is a replacement for Host Media reseller customers which allows global cPanel hosting accounts to be setup from one portal.

Features

  • Add, edit, suspend, unsuspend and delete cPanel accounts from the network
  • Pick from 9 global locations to create cPanel accounts
  • Allow users to fix PHP permissions for their accounts
  • Unblock IPs from servers software firewall in case of IP blocking
  • Password generator which meets max secuirity requirements for passwords
  • Network stats to show available space for locations
  • Nightly usage stats for accounts

WHMCS Billing Module

We have built a fully integrated WHMCS module for our reseller hosting so you don't have to code anything. Follow the instructions below to setup the WHMCS module:

  1. Download the WHMCS module: View Downloads
  2. Unzip the downloaded file and upload the contents to your WHMCS install
  3. Add a new server to your WHMCS for your reseller hosting.
    You can find this under: Setup => Products/Services => Servers and clicking on the 'Add New Server'
  4. You can set the limits, names and to be what ever you like but the following needs the correct settings:
    • Primary Nameserver: dns1.dnshosted.co.uk
    • Secondary Nameserver: dns2.dnshosted.co.uk
    • Third Nameserver: dns3.dnshosted.co.uk
    • Type: Hmresellerpanel
    • Access Hash: *Your Host Media Reseller Panel API*
  5. Once the server is all setup go to add your new product.
    You can find this under: Setup => Products/Services => Products/Services
  6. Setup the product as you would normally and when selecting the module (Module Settings Tab) select 'Hmresellerpanel' on the 'Module Name' drop down. The page will refresh and show 3 extra fields (Web Space Quota, Bandwidth Quota and Package).
  7. Within the product setup page you will need to add a 'Custom Field'. Name the custom field as: 'location|Location' The second part of this string after the '|' (pipe) is the friendly name. Do not edit anything before the pipe. Ensure the field type is a drop down and then enter the following into the 'Select Options' field:
    1|(UK) Coventry,12|(US) Dallas Texas,5|(US) Washington DC,6|(US) Seattle,7|(CA) Toronto,8|(NL) Amsterdam,9|(ASIA) Singapore,10|(ASIA) Hong Kong,11|(AU) Melbourne
    You will need to tick 'Required Field' and 'Show on Order Form' check boxes to allow your customers to pick a server location for their hosting.
  8. We recommend selecting the option 'Automatically setup the product as soon as the first payment is received' on your product to ensure the module is run nautomatically when a client orders the hosting package.

API Documentation

We use a REST based API system that makes it easier to action commands from the API service. You can use: GET to retrieve information, POST to perform create or update actions and DELETE which does just that.

For example if we list 'POST' next to the function name you can use code such as:
curl_setopt($curl, CURLOPT_CUSTOMREQUEST, "POST");

You will need to make sure you have generated your API key and provide basic authentication (username:password) in your request to the secure. This ensures greater security for your account.

  • Account(s) Actions
    • Account Get: Account:Get
    • Account List: Accounts:Get
    • Account Create: Account:Post
    • Account Update: Account:Post
    • Account Delete: Delete
  • Suspend Actions
    • Suspend: Suspend:Post
    • Unsuspend: Unsuspend:Post

Account:GET

URL: https://cp.hostmedia.co.uk/api/account/apikey/*APIKEY*/format/json

Name: Type: Description:
key Required string Your API access key.
id Required string Use the hosting accounts ID to get the details about that hosting account.

Accounts:GET

URL: https://cp.hostmedia.co.uk/api/accounts/apikey/*APIKEY*/format/json

Name: Type: Description:
key Required string Your API access key.

Account:POST

URL: https://cp.hostmedia.co.uk/api/account/apikey/*APIKEY*/format/json

Name: Type: Description:
key Required string Your API access key.
domain Required string The domain name you wish to setup.
username Required string The username you would like to use. Min 3 letters and can't start with a number.
password Required string The password you would like to use. Recommend using a min of 8 letters.
location Required string Location from the following using the full name as listed: (UK) Berkshire,(US) Central,(US) East,(US) West,(CA) Toronto,(ASIA) Singapore,(ASIA) Hong Kong,(NL) Amsterdam,(AU) Melbourne
quota Required string Disk quota yo be in megabytes and numbers only. For examples 1GB would be: 1000
bandwidth Required string To be in megabytes and numbers only. For examples 10GB would be: 10000
pack_id Required string Using the ID element of one of the below:
ID|Title
36832 = Unlimited Pack
36826 = 1 Pack
36827 = 5 Pack
36828 = 10 Pack
36829 = 25 Pack
36830 = 50 Pack
36831 = 100 Pack

Account:POST

Define an ID in your post to edit that hosting account.

URL: https://cp.hostmedia.co.uk/api/account/apikey/*APIKEY*/format/json

Name: Type: Description:
key Required string Your API access key.
id Required string Use the hosting accounts ID to get the details about that hosting account.
domain string The domain name you wish to setup.
username string The username you would like to use. Min 3 letters and can't start with a number.
password string The password you would like to use. Recommend using a min of 8 letters.
quota string Disk quota to be in megabytes and numbers only. For examples 1GB would be: 1000
bandwidth string To be in megabytes and numbers only. For examples 10GB would be: 10000
pack_id string Using the ID element of one of the below:
ID|Title
36832 = Unlimited Pack
36826 = 1 Pack
36827 = 5 Pack
36828 = 10 Pack
36829 = 25 Pack
36830 = 50 Pack
36831 = 100 Pack

Account:DELETE

URL: https://cp.hostmedia.co.uk/api/account/apikey/*APIKEY*/format/json

Name: Type: Description:
key Required string Your API access key.
id Required string Use the hosting accounts ID to get the details about that hosting account.

Suspend:POST

URL: https://cp.hostmedia.co.uk/api/suspend/apikey/*APIKEY*/format/json

Name: Type: Description:
key Required string Your API access key.
id Required string Use the hosting accounts ID to get the details about that hosting account.

Unsuspend:POST

URL: https://cp.hostmedia.co.uk/api/unsuspend/apikey/*APIKEY*/format/json

Name: Type: Description:
key Required string Your API access key.
id Required string Use the hosting accounts ID to get the details about that hosting account.

What's Coming...

We have already started looking into features for version 1.2 and below are the main features we are looking to release:

  • Password generator include/exclude options for characters
  • Basic income/expense stats and input options for when mangaging accounts