What is a VPS?

VPS stands for a Virtual Private Server. A virtual private server is a method of partitioning a physical server computer into multiple servers such that each has the appearance and capabilities of running on its own dedicated machine. Each virtual server can run its own full-fledged operating system, and each server can be independently rebooted.

vps

Why choose a VPS instead of Shared Hosting?
A VPS offers significant advantaged over Shared Hosting. The main ones are scalability as you can upgrade your Hard Drive and Memory as you require, and customization in that you can customize your VPS in the same way that you can with a Dedicated Server. Because resources are not shared, hosted applications or websites are much faster as well as more secured. Also VPS servers are very affordable and cheap in prices so if you are having a shared hosting account or a Reseller account and don’t want to go for dedicated server then VPS server is the best option and is also cheap and affordable.

Adding nameservers via WHM

How to add name servers via WHM
Here are the detailed steps for you for adding the name servers using the WHM.

1. Login to WHM using “https://hostname/whm” or https://ip_of_the_server:2087
whm-login
2. Once you will logged in search for the option DNS Functions >> Edit DNS Zone.
dns-zone-whm
3. Select the domain name you want to use, and then click Edit.
edit-dns-zone-option
4. For the two rows with the menu displaying NS, edit the right-most columns to ns1.your domain name. And ns2.your domain name. respectively.
ns1-ns2-add
Please note, you have to enter a “.” after your name server for working of the DNS properly.
5. Add first line in the section ‘Add New Entries Below this Line’ –
First field: Type ns1
Second field: Type 14400
Third field: Select A
Fourth field: Enter your server’s IP address (that is IP address associated with the name server ns1.)
Similarly, add the record for ns2 entry
ns1-ns2-add
6. Save.
save-whm

Swap size for VPS

What the swap size should be in a VPS. I’ve read that in Linux machine the swap should have the same size as the amount of physical memory the machine is installed with? Dose this apply to a VPS, should a VPS having 512Mb dedicated Ram have 512Mb swap or smaller?

Generally the swap size is double the existing physical memory the machine is installed with. If it’s installed with 1 GB, the swap size is 2 GB. Swap should always be at least equal to ram, standard practice is double the amount of ram in swap. Granted swap is used to get over the hump when not enough ram in available, but it is also used to write ram to during a suspend, if you have less swap then ram, you’ll never suspend.