dedicated servers billing discounts

New Dedicated Server Billing Cycles and Discounts

Dedicated Server on iwebz.hosting

A Dedicated Server is meant to take your web site one step further. Offering an amazing combination of dependable hardware and stable software, the dedicated servers on offer at iWebz Web Hosting are precisely what your site needs.

ARTICLE: Why should Tech startups start with Dedicated Servers?

New Billing Cycles

Recently, we’ve introduced a major upgrade to our dedicated servers – we’ve improved the hardware of the existing setups and added 8 new configurations.

Up until now, only a monthly payment period has been available for the dedicated server packages.

With the new update, our Dedicated Server customers will be able to make use of 3-month and 6-month billing cycles, apart from the default monthly payment option.

These billing periods are now available while placing your order.

dedicated server new billing cycles

Billing Cycle Discounts

dedicated servers billing discountsAs you can see, the new billing cycles are tied to a corresponding discount on the default monthly price.

This way, if you select the 3-month billing cycle, they will get a pleasing 10% discount off their plan’s monthly price right away:

And if you select the 6-month billing period, the discount will be twice as big – 20% OFF the default monthly price.

By switching between the 3 billing period options, you will be able to see the difference between the regular monthly price and the discounted quarterly and semi-annual prices in the table below and choose the most suitable option at the time of purchase.

Once enabled, the new billing periods will be in force for as long as you want. When the period expires, you will be able to renew your subscription for another 3 or 6 months, or to switch to the regular monthly billing option.

Get a Dedicated Server for your online venture

Take advantage of a free Control Panel, 24/7/365 technical support and a 99.9% uptime guarantee.
git on web hosting

Git support enabled on iWebz Web Hosting

Git Support on Web Hosting

Providing a developer-friendly web hosting service is a goal we always strive for. With the evolution of application development, the need for setting up online development environments, such as Git, has become a necessity. As one of the most popular developer tools used by every 4 out of 5 developers, Git support is now enabled on the iWebz Web Hosting platform.

how git support works

With Git support enabled on our web hosting platform, developers will be able to push, pull or clone their projects from GitHub, or any other platform that’s hosting their repository, to one or more web hosting accounts on our servers.

This is all best done over SSH, which opens a secure connection and executes Git operations on the server as required. The use of SSH eliminates the need for deploying a daemon service on the server to push requests, which is one of the main security concerns of web hosting providers.

Using Git support to deploy a simple script or an entire app on a web hosting server is a fast and easy way to spread that version controlled content over a few web hosting accounts at the same time. This will save developers all the hassle of uploading the content to all the accounts successively over FTP.

The same holds true for updates – instead of having to use FTP to upload script or app updates to each web hosting account separately, the developer will just need to push an update from the Git repository with a simple Git+SSH command.

With Git support on our web hosting platform, you will be able to create your own repository directly on the server where your websites are located, instead of using third-party services like GitHub.

Example Git Usage

Here, we’ll examine a very basic Git repository usage scenario that will allow us to track and deploy a local (as in residing on our workstation) copy of a dev app in our production environment on the hosting web server.

Step 1: Prepare the remote (web server) Git and SSH environments

Let’s assume that our production app directory resides in ~/www/my-domain.tld/ and that our Git repository is located in ~/git_repos/my_app/. We need to execute the following in our web server environment:

$ ssh username@my-domain.tld -p 2222

After you supply your password and are logged in, you may proceed with:

  1. $ mkdir -p ~/git_repos/my_app
  2. $ cd ~/git_repos/my_app
  3. $ git init

This will initiate the Git repository and will allow us to take advantage of all the ‘goodies’ that the Git support provides.

Now we need to tell Git to accept pushes to our working directory (~/www/my-domain.tld/):

$ git config receive.denyCurrentBranch ignore

The next step is to create a post-receive hook that will help us deploy my_app’s code directly into our working directory:

$ editor_of_your_choice ~/git_repos/my_app/.git/hooks/post-receive

Fill the file with the following contents:

#!/bin/sh GIT_WORK_TREE=~/www/my-domain.tld/ git checkout -f

Save it and make the hook file executable:

$ chmod 0750 ~/git_repos/my_app/.git/hooks/post-receive

And a small step that will help us set up SSH:

  1. $ mkdir -m 0700 ~/.ssh/
  2. $ touch ~/.ssh/authorized_keys
  3. $ chmod 0600 ~/.ssh/authorized_keys

Step 2: Prepare the local (workstation) Git and SSH environments

Let’s assume that the app you’re developing resides in ~/projects/my_app/ and contains only one example file: index.php – we’ll set up a Git repository in the same directory:

  1. $ cd ~/projects/my_app/ $ git init
  2. $ git add index.php
  3. $ git commit -m 'initial version'
  4. $ git remote add origin username@my-domain.tld:git_repos/my_app

We need to generate a cryptographically strong SSH public/private key pair:

$ ssh-keygen -t rsa -b 4096

This will create two files: ~/.ssh/id_rsa (private key) and ~/.ssh/id_rsa.pub (public key).

Create a ~/.ssh/config file and add the remote host info:

  1. Host my-domain.tld
  2. Port 2222
  3. PreferredAuthentications publickey,password

If you already have this file, you only need to update it using the information above.

Now add the SSH public key to the production environment:

$ cat ~/.ssh/id_rsa.pub | ssh username@my-server.tld "cat >> ~/.ssh/authorized_keys"

Step 3: Deploy your app’s code to production Now we only need to push my_app’s code into production via Git:

$ git push -u origin master.

And you're done! Your app (index.php in this example) is now deployed on the remote web server in the ~/www/my-domain.tld/ directory using SSH & Git support.

How To Get Started?

First of all, you will need to have SSH access enabled for your iWebz web hosting account.

We include SSH access by default with the Enterprise plan, the Semi-dedicated 2 plan and with all VPS and dedicated server solutions on our platform. With all other packages, SSH is available as an upgrade.

Git is enabled by default with all Hepsia Control Panel-managed hosting solutions including:

  • Web hosting packages
  • Semi-dedicated servers
  • OpenVZ Virtual Private Servers with a Hepsia installation
  • Dedicated servers with a Hepsia installation

iWebz Web Hosting options