rhlinux

True if reseller signed up for any RH Linux Product (US or IN or UK)

Change Primary Domain

Description

Changes the primary domain name for an existing Reseller Linux Hosting Order.

Parameters

Name Data Type Required / Optional
auth-userid Integer Required Authentication Parameter
api-key String Required Authentication Parameter
order-id Integer Required The Order ID which is to be modified.
new-domain-name String Required The new primary domain name.

HTTP Method

POST

Example Test URL Request

US Server


https://test.httpapi.com/api/resellerhosting/linux/us/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com

UK Server


https://test.httpapi.com/api/resellerhosting/linux/uk/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com

India Server


https://test.httpapi.com/api/resellerhosting/linux/in/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com

Turkey Server


https://test.httpapi.com/api/resellerhosting/linux/tr/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com

Response

Returns a map of the execution details of the change primary domain operation.

Converting Addon Domain to a Primary cPanel Domain

An addon domain can be converted to a primary cPanel domain by following the below steps:

  1. Back up your web content and database. You can use the cPanel Backup Wizard to create a backup of your web content and MySql database.

    Additional Information

    cPanel Backup Wizard

  2. Login into the original cPanel account and remove the addon domain from within the Addon Domains section.

    Note

    It is not necessary to delete the original content or original database(s).

  3. Login to your WHM panel and create a new cPanel account using the old addon domain as the primary domain.

    Additional Information

    Creating a cPanel Account

  4. Upload your web content to the public_html folder of the new cPanel account via FTP.

  5. Restore your MySQL database from your new cPanel account and reconnect / test database connections.

Once these steps are completed, your site should begin to resolve. There is no need to change the Name Severs since the IP address remains the same.

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

  1. Ensure that the Digital Certificate is properly installed on your Hosting Order, and the site is resolving on https://yourdomainname.com.

    Note

    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.

  2. 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.

Customizing the Upsell Modal

During the Domain Registration process, the SuperSite 2 displays a modal which upsells Linux Hosting by default. Through your SuperSite 2 Admin Area, you may select a different product to sell in the Upsell Modal.

How do I Select a Product to Sell in the Upsell Modal?

Step 1: Login to your SuperSite 2 Admin Area. Learn how.

Step 2: Navigate to the Upsell settings page.

  • In the Menu, click on the Settings link.


  • Click on the Change Product button under Customize Upsell Modal.

Step 3: Select a product to Upsell.

  • You may choose to upsell either a Combo Plan or any other product. Click on Upsell a Combo Plan or Upsell a Product as required.


  • If you have selected a Combo Plan, you can select a single plan to upsell from the drop down list under Upsell a Combo Plan.


  • In case you wish to upsell a different product, you can select it from the drop down list under Upsell a Product.


  • If you wish to disable the Upsell Modal, you can select None from the list under Upsell a Product.


  • Click on the Save button to submit the changes.

Note

  • The drop-down menu will display only those Products which you have chosen to sell. Products set to No New Orders or Do Not Sell will not be listed here.

  • This process will customize the Upsell Modal for every Language SuperSite that you have created.

  • Your SuperSite 2 will not display the modal if you choose to sell only Domain Names. Hence, the Customize Upsell Modal section will not be visible in your SuperSite 2 Admin Area in this case.

  • If you have chosen to upsell a Combo Plan, the Upsell Modal will be displayed to the customer only if they select a TLD available with the Combo Plan.

Get DNS Records

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.

Accessing your Reseller Windows Hosting Package

There are 3 methods by which you can manage your Reseller Windows Hosting package with :

Managing your Reseller Windows Hosting package through your Control Panel with
(Anchor: manage)

Note

This method is recommended if you yourself are managing your Reseller Windows Hosting package.

  1. Login to your Control Panel, Search for the domain name for which you have purchased this Reseller Windows Hosting Order and go to the
    Order Information view. See details

  2. Click the Access your Plesk Account link to get automatically logged into your Plesk interface.

Modifying the Password of your Plesk Interface (Anchor: password)

  1. Login to your Control Panel, Search for the domain name for which you have purchased this Reseller Windows Hosting Order and go to the
    Order Information view. See details

  2. Click the Admin Details link.

  3. Click the Change Password link under Plesk Login Details.

  4. Mention a Password of your choice and click the Change Password button to reset your password.

Managing your Reseller Windows Hosting Package through an IP Address (Anchor: ip)

Note

This method is typically recommended if you wish to delegate managing your Reseller Windows Hosting package to a Web Designer and have not yet modified your domain
name's Name Servers to the ones recommended by .

Alternatively, you may only provide FTP access to your Web Designer by creating another FTP User for
them. See details

Retrieving the IP Address and Login Credentials of your Reseller Windows Hosting Package

  1. Login to your Control Panel, Search for the domain name for which you have purchased this Reseller Windows Hosting Order and go to the
    Order Information
    view. See details

  2. Click the Admin Details link.

  3. Under Plesk Login Details, note the IP Address (next to the Address field) and your Username.

  4. Your Password on the other hand can be retrieved from, either:

    • the email that was sent to you upon purchasing this package,

      OR

    • by changing the password in the Admin Details interface. See details

Managing your Reseller Windows Hosting Package through your Domain Name (Anchor: domain)

Note

This method of accessing the Reseller Windows Hosting package is very similar to the one above and is also recommended when providing access to your Web Designer. The
only difference between the two methods is that, for this to work you should have already modified your domain name's Name Servers to
's. See details

Alternatively, you may only provide FTP access to your Web Designer by creating another FTP User for
them. See details

Retrieving the Login Credentials of your Reseller Windows Hosting package

  1. Login to your Control Panel, Search for the domain name for which you have purchased this Reseller Windows Hosting Order and go to the
    Order Information
    view. See details

  2. Click the Admin Details link.

  3. Under Login Details, note the URL (next to the Address field) for accessing your Plesk interface and the Username.

    Your Password on the other hand can be retrieved from,
    either:

    • the email that was sent to you upon purchasing this package,

      OR

    • by changing the password in the Admin Details interface. See details