sdhwindows

True if reseller signed up for any SDH Windows Product (US or IN or UK)

View Event Logs in Plesk

The Event Log plugin allows you to view the Application and System logs related to your domains from the Plesk panel. Follow the steps below to view the Event Logs for your domain.

Step 1: Login to the Plesk Panel

Step 2: Navigate to the Event Logs page

Click on the Event Logs link in the Plesk Panel.

Step 3: Select the domain and type of log

  • Select the required domain name from the drop-down list.


  • Select the Event-Log type and click on OK to view the logs.

Change Primary Domain

Description

Changes the primary domain name for an existing Single Domain Windows 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 OrderId for which the primary domain is to be modified.
new-domain-name String Required The new primary domain name.

HTTP Method

POST

Example Test URL Request

US, Texas Server


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

US, California Server


https://test.httpapi.com/api/singledomainhosting/windows/us/ca/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/singledomainhosting/windows/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/singledomainhosting/windows/in/change-domain-name.json?auth-userid=0&api-key=key&order-id=0&new-domain-name=domain.com

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/windows/hk/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/singledomainhosting/windows/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.

How do I set the default page?

When a hosting order is purchased, a default index.html page is uploaded to the hosting. You may rename or delete this default file after uploading your website content, so that your website resolves without any issues.

You may manually set the default page for your website by following these steps.

Linux Hosting

The default file can be specified using the .htaccess file.

Example:

If "Homepage.html" is the default page for your domain then you can add the below line to the .htaccess file.

DirectoryIndex Homepage.html

Windows Hosting

You can follow these steps to set the default page from your Plesk panel

  1. Login to the Plesk panel of the domain name for which you wish to set the default page.

  2. Click the Virtual Directories link.

  3. Under the Tools section, click the Directory Properties button.

  4. Under Documents, set the required default page by moving it to the top and click the OK button.

HTTP to HTTPS Redirection - IIS

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

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

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 Single Domain Windows 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 Single Domain Windows Hosting Order

HTTP Method

GET

Example Test URL Request

US, Texas Server


https://test.httpapi.com/api/singledomainhosting/windows/us/dns-record.json?auth-userid=0&api-key=key&order-id=0

US, California Server


https://test.httpapi.com/api/singledomainhosting/windows/us/ca/dns-record.json?auth-userid=0&api-key=key&order-id=0

UK Server


https://test.httpapi.com/api/singledomainhosting/windows/uk/dns-record.json?auth-userid=0&api-key=key&order-id=0

India Server


https://test.httpapi.com/api/singledomainhosting/windows/in/dns-record.json?auth-userid=0&api-key=key&order-id=0

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/windows/hk/dns-record.json?auth-userid=0&api-key=key&order-id=0

Turkey Server


https://test.httpapi.com/api/singledomainhosting/windows/tr/dns-record.json?auth-userid=0&api-key=key&order-id=0

Response

Returns DNS records of the domain name.

Change Hosting Panel Password

Description

Changes the hosting panel password of the specified Single Domain Windows 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 Single Domain Windows Hosting Order whose hosting panel password needs to be changed.
new-passwd String Required New password.

HTTP Method

POST

Example Test URL Request

US, Texas Server


https://test.httpapi.com/api/singledomainhosting/windows/us/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1

US, California Server


https://test.httpapi.com/api/singledomainhosting/windows/us/ca/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1

UK Server


https://test.httpapi.com/api/singledomainhosting/windows/uk/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1

India Server


https://test.httpapi.com/api/singledomainhosting/windows/in/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1

Hong Kong Server


https://test.httpapi.com/api/singledomainhosting/windows/hk/change-password.json?auth-userid=0&api-key=key&order-id=0&new-passwd=password1

Turkey Server


https://test.httpapi.com/api/singledomainhosting/windows/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.

Get Reseller Pricing

Description

Use this method to get details of the pricing for the Single Domain Windows Hosting plans for your Sub-Resellers.

Response

Returns a map with the prices of the Single Domain Windows Hosting plans along with the prices of the other products.

The response structure for the Single Domain Windows Hosting will be:


"productkey":
{
"planid":
{
"action":
{
"tenure-in-months":price
},
"ssl":price
}
}

Example:

US, Texas Server


"singledomainhostingwindowsus":
{
"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


"singledomainhostingwindowsusca":
{
"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


"singledomainhostingwindowsuk":
{
"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


"singledomainhostingwindowsin":
{
"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


"singledomainhostingwindowshk":
{
"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


"singledomainhostingwindowstr":
{
"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
}
}
}

Get Customer Pricing

Description

Use this method to get details of the pricing for the Single Domain Windows Hosting plans.

Response

Returns a map with the prices of the Single Domain Windows Hosting plans along with the prices of the other products.

The response structure for the Single Domain Windows Hosting will be:


"productkey":
{
"planid":
{
"action":
{
"tenure-in-months":price
},
"ssl":price
}
}

Example:

US, Texas Server


"singledomainhostingwindowsus":
{
"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


"singledomainhostingwindowsusca":
{
"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


"singledomainhostingwindowsuk":
{
"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


"singledomainhostingwindowsin":
{
"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


"singledomainhostingwindowshk":
{
"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


"singledomainhostingwindowstr":
{
"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
}
}
}