Along with the benefits of additional resources dedicated solely to your own websites, one of the best things about VPS hostingis that you divide up your server space as many times as you need to and host multiple sites, all with more resources than you’d enjoy with a shared hosting plan.
At first look, dividing up your Virtual Private Server to create individual hosting plans may seem like a complicated procedure, but you’d be surprised at just how easy it is.
In this tutorial, we’ll be using Web Hosting Manager (WHM), an all-purpose control panel that comes with the majority of VPS hosting solutions, to create a hosting package for a new site on our server.
Ready to get started? Here’s how it’s done.
Log in to your server and head to your WHM control panel
In our case, we do this by heading to the server dashboard on our GoDaddy account and hitting the ‘Manage Server’ button. If your VPS is with another hosting provider, you may need to carry out this step a little differently, but once we get to the WHM control panel, you’ll be able to follow our instructions exactly.
Your WHM panel should look like the one above.
Scroll down the page until you see the ‘Packages’ box, and click it to move to the next screen.
On the next page, you’ll have several options to either add, delete and modify a package, or control what features you include in your packages. Today, we just need the first box, ‘Add package.’
Click that, and let’s move on.
Create your package
On the next page, you’ll need to give your new package a name. We suggest something that you’ll easily identify as belonging to a specific website.
Allocate as much -or as little- resources to your new website as required. As you’ll see above, we’re giving this new package just 30MB of disk space and leaving everything else unlimited. It’s up to you to decide how you’ll share the resources on your new VPS.
If you have a dedicated IP address for your new site, you can go ahead and add that in here, too. Otherwise, click add.
Add an account
All being well, you should see a little green box pop-up in the bottom corner telling you that the new package has been added successfully. Now, in order to use it, you’re going to need to add an account to that package.
To do that, go back to your WHM control panel and click the ‘Account Functions’ box. As illustrated above, you should find this directly above ‘Packages.’
Enter domain information
Click the account functions box to bring up the next page, and from there, select ‘Create New Account’ as below.
On the next page, you’ll be able to add information about your account, including the domain name associated with it, and create both a username and password.
Select your package and other options
In the next box, you’ll find a dropdown menu where you can select the hosting package we just created.
Below that, you’ll have other options to configure, though we suggest only changing these if you absolutely know what you’re doing.
From there, you can scroll to the bottom of the page, click ‘Create’ and you’re done.
You, or your customers, can access your cPanel web hosting package just by typing in the website’s domain name plus /cPanel, and get to work on creating your awesome new website.