You are on page 1of 2

How To Create A Website With VPS Hosting

A virtual private server "VPS" is a virtual machine sold as a service by an Internet service.

To host a website with VPS, you have to follow the following steps;

First thing is to get our domain name from a hosting company like name cheap

Then change the DNS server of the domain to any VPS hosting company we want to use like digital
ocean.

After that, We login to the VPS hosting provider page,If we are making use of digital ocean, once logged
in to the dashboard. You will see an option called DROPLET which is known as VPS on digital ocean.

Once droplets is clicked, it will direct us to a page in which we have to choose an operating system eg
Centos , Ubuntu and so on..

Then we click on the plan we want to purchase, either monthly or yearly

After that, we choose a server location nearest to you and type in any desire hostname of your choice eg
Centos.adegoke.com

Then click on create button. After the VPS hosting is created on the project

You will have to navigate to add domain

Then you will have to fill the domain name with the one bought from namecheap

eg Adegoke.com

Then you click on add domain button

To make sure everything is working fine

You will have to navigate back to your project

And click on manage domain

Then you will have to create a new record

Choose option A in the list which would be given to you

Then type in your domain name and the IP address of the domain name. Then you are all

After doing all this steps, you will receive an email about your login credentials for the VPS account.

Open your terminal/command line and connect to the remote server through the login sent to you

After successful login in


You will need to update the system

By typing yum update command and after that the reboot command

After that, you can now install a cpanel to your VPS to manage your domain

To setup up your cpanel you have to type the following command in your terminal

Yum install perl

hostname centos.(your domain)

yum install screen wget

wget -N http://httpupdate.cpanel.net/latest

chmod +x latest

bash latest

With the following commands above you have successfully installed cpanel on your vps host to manage
your domain.

You might also like