This article is for advanced user who know how to manage hosting either shared hosting or virtual private hosting. Normally if you bought a shared hosting you’ll see a control panel named cpanel in most hosting service provider. cpanel is very popular and user friendly. Now think you want to buy a unmanaged VPS. Why unmanaged because if you bought a managed VPS it will cost almost double than unmanaged VPS. So I prefer unmanaged VPS for myself as cost is almost half. And its not too difficult to manage a VPS.
In this post, I’ll show you how could you easily manage your VPS hosting using Virtualmin and Webmin web server control panel. Virtualmin has 2 types of license one is professional, which you have to buy and another is GPL license which is free.
So lets have a look at the features of virtualmin:
- Virtualmin is based on the well-known Open Source web-based systems management GUI, Webmin.
- Webmin is a web-based interface for system administration for Unix, linux etc. Using web browser you can setup user accounts, Apache, DNS, file sharing and much more.
- Using Virtualmin you can manage your virtual domains, mailboxes, databases, applications, and the entire server, from one comprehensive and friendly interface.
- You can use GPL license based virtualmin which is free but it contains some unavailable features than pro. If you buy Cpanel it will monthly charge 12$, so using virtualmin you saved monthly 12$.
Now I’ll show the easy install process. Please remember, if you follow my way webmin and virtualmin will automatically install in your server without hassle.
First step is to setup any A Grade OS like Debian, CentOs, Ubuntu in your server. You can do this by your VPS control panel like SolusVM or HyperVM Control panel. The login info will provide by your hosting provider. I prefer Debian OS in my server.
After successfully install OS now open the shell if you use windows then open putty . Now login in your server as admin.
now give the command
It will change your working directory to your server’s home directory. In command prompt it will look like this
It will download the install.sh file and put in your home directory. Now change the permission and run this
chmod +x install.sh ./install.sh
You’ll see output in your shell and follow the instructions to successfully install. After install virtualmin visit its control panel.
If you server IP addess is something like this 18.104.22.168 then you have to visit https://22.214.171.124:10000
By default virtualmin used port 10000. However when you visit the url, you’ll ask for setup apache, database server and so on. That’s very easy to understand if you’re advanced user.
After fully install all important modules, create a virtual server.
If your domain name is http://temp.com then provide domain name temp.com and click create server. In your home directory you’ll see a folder is created named temp.
So put any php script or html file in /home/temp/public_html/index.php and run in your browser http://temp.com/index.php
You’ll see the output.
So that’s the way you can easily manage your server. If you need another virtual server just follow the previous way to create another virtual server where you’ve to provide your desired domain name.
You can also create database, ftp users and many important things like cron by using this control panel. By using Virtualmin you can minimize your hosting cost.
Hope this article will help you. Cheers!