“How to create a virtual server?” Is a frequent question that arises for many users who are confronted with hosting for the first time. In the article, we ’ll continue to understand what VPS (VDS) is , how to choose it correctly, configure this type of hosting for the needs of your project, and whether it is possible to create a regular Virtual Private Server on your own, or you need to rent it.
In the first part, we found out what a virtual server is, when it is worth buying it, which operating system (Linux or Windows) is better to use.
Apart from traditional site hosting, virtual servers can be used for IP telephony, virtual routers and switches, VPN or proxy, terminal servers with traditional office programs for remote access from employees’ computers.
Most often, when developing websites, the programming language PHP, MySQL databases and Apache and Nginx web servers are used (they work independently or in conjunction). This set of programs is often called LAMP ( L inux- A pache- M ySQL- P HP) or LEMP ( L inux- N ginx- M ySQL- P HP).
Of course, they use other technology stacks, sites can be written in other programming languages (Python, Ruby, NodeJS) and use other databases (PostgreSQL, noSQL), as well as auxiliary software. But since such solutions are less common, we will not consider them. Let us dwell in more detail on the choice and initial configuration of a VPS for placing sites on it in the language of PHP and corporate mail.
There will not be a detailed guide on how to choose the necessary tariff, since the resources are selected individually in each case. The amount of resources will depend on the number of sites on the server, the CMS used, the need for additional programs, etc.
The only thing that is calculated quite accurately is disk space. Check how much space the sites and mail occupy, add to this 7-10 GB and get the minimum required disk space. The fact is that on the VPS you need to allocate additional space to install the operating system and control panel, which is also taken into account in the total disk space.
Operating system and control panel
There is a whole family of operating systems based on the Linux kernel, among which there are server and desktop options. The most popular server operating systems: CentOS, Debian, Ubuntu Server.
If you need a very stable system – your choice of CentOS. A stable and secure system, but with the ability to upgrade to the latest software versions if necessary, this is Debian. Ubuntu Server is an OS that keeps up with the times, delivering the latest versions of software, because of which they may not work perfectly.
The server control panel is a kind of script, or a set of scripts, that allows you to conveniently manage the VPS in the graphical interface. Typically, the graphic part is available in the browser at a specific address.
The subjective experience of use greatly influences the choice of PU, that is, one user will find one panel more convenient, the other a different panel. If you find it difficult to choose, you can test the interface of various products in the demo version on the developer sites and decide what suits you best. Also, the choice of PU is closely related to the operating system, since they usually maintain a limited list of operating systems. And another important factor in choosing a panel is whether you have the necessary tools or the ability to quickly install them.
Of course, you may not use the control panel at all and configure the virtual server through the command line, but this method will require sufficient technical knowledge. Most PUs come bundled with a set of basic popular software needed to quickly deploy your sites. This web server, PHP, database, FTP, mail server and DNS server. All packages are already optimally configured to immediately start working with the server.
We recommend using VPS with a control panel and provide free full technical support for them. For servers without a panel, technical support will be limited. Creating a virtual server is an incredibly costly process and for a full-fledged hosting there is a platform where you can place your resource and you don’t have to create it from scratch.
For installation on our VPS and dedicated servers, we offer the following panels: cPanel / WHM (from $ 13.95 / month), ISPmanager 5 Lite ($ 4 / month), Plesk 17 (from $ 10 / month), Centos Web Panel (free ), and it is also possible to install the virtual Bitrix environment.
We will discuss all of these control panels in more detail in the next section.