Recommended VPS Complete list of best VPS hosting providers.

How to Add New Website on Vesta CP

Previously on ServerMom we’ve learned how easy it is to install VestaCP on a VPS. So this article is the next guide about how to use Vesta CP to host a website on a VPS, even on a low end VPS. So I will not talk about what’s Vesta CP is, you can get that basic information on my previous tutorial.

Basic step by step guide how to setup and use Vesta CP to host websites on VPS.

Very first step before any other steps is “to loggin to Vesta Control Panel”:

Open your VPS IP with port 8083 via https://.


then login as Admin:

login vestacp

A. Basic Setup

Some necessary steps to do after installing VestaCP:

1. Change default admin password:

Once logged in, click the “Admin” link in top right-hand corner of your screen. The one beside Log out in top of Backup menu.

admin link

Now you’ll enter the “Editing User” page which you can change your password there. This is necessary so you can easily remember your own Admin password. Just make sure to use strong combination.

change password

2. Define Your Main Nameserver

Scroll down that page a bit and you’ll see other options. Feel free to adjust those options but for me I better leave that as default except the “Default Name Servers” part. Change this part to your own main NS for your domain.

change NS

once done, hit the Save button.

3. Adjust Hosting Packages Configuration

Click on the “Packages” link on the top left-hand corner of the screen (above Vesta logo). For your information, “Packages” is a feature on Vesta that serves as “Hosting Plans” which you usually see on many web hosting company sites. In that Packages page you can adjust some necessary limitations / features of a plan which can be assigned to a user.

change packages

** pic is a bit long so I put thumbnail. Click on it to see full size.

For example, we can configure the “Default” plan to have how many domains, sub-domains, databases, backups, cron jobs, how much disk space and bandwidth will be allocated, and so on.

It means you can create your own hosting plans.

B. Add New Website

So here it is the time to add our new website / domain. First, click on the “WEB” menu and you’ll see default.domain is already there.

click web menu

You can delete it by clicking the delete link next to it.

delete domain

It will then ask for confirmation. Simply hit OK.

Next, add our new website by clicking “Add Web Domain” button.

add domain

Now enter your domain name there. You can also assign custom IP address (if your vps has more than one IPs). As my website will be a simple WordPress blog, so I leave other options by default.

add new

There are Advanced options hidden, click on it if you wish to change some advanced configurations including Aliases, will you use Nginx or not, SSL support, Web Statistics enabled or not, Statistic Authorization and additional FTP. Adjust as you like.

Once done, hit the Save button.

C. Editing DNS

Once you’ve added a new domain (as explained above), your domain will also appear in the DNS section. So click on it to see its configuration and entries.


You’ll see all available (added) domains there.


You can see all automatically added DNS entries by clicking “list of x records” link of that domain. x represents the numbers of available entries.

What you can do with each domain are: See the list of DNS records, Add new DNS record, Edit DNS configuration, and Delete. The Suspend menu only available for Admin.

dns records

Ok, I am a newbie, and this is my very first time using Vesta and my very first time adding new website to my Vesta vps. What should I do?

Nothing. All default configurations are setup once you added a new website. Without adding or editing anything in your DNS your DNS is ready to use. But in this DNS page you can see all your DNS settings. So what you should also do is to see all available records just for your own review (or learning).

How can  add new DNS entry?

Simply the “Add new record” link. The “Adding DNS Record” page is really easy to understood. Example:

add dns record

D. Add New MYSQL Database

Most of recent scripts and CMS are using database to store its data. You can see all available MySQL datyabases by clicking DB menu.


In that DB page you can see all available databases. As for this guide, lets start adding a new database. Click on the “Add Database” button.

add database

Now go ahead add your database and also database user and its password. Note: Prefix username_ will be automatically added to database name and database user (example: admin_).

add database

In that example then my database name is “admin_wordpress”, my DB user is “admin_johndoe” and the password is as shown in screenshot ^_^.

That’s it so now you add manage your database via PHPMYADMIN by clicking “Open phpMyAdmin” link.


phpMyAdmin interface should appear in a new browser Tab / Window. You have to login using your just created database username and password.

E. Uploading Website Content to VPS

So you now have DNS and MySQL database setup and ready. Next, lets upload all files of websites. FYI: Vesta CP doesn’t have File Manager (may be yet) and also no support for third-part module or plugin line zPanel with its Ajaxplorer File Manager. So the only way you upload your web files is via FTP which is handled by vsFTPd.

First, go to WEB then click Edit link of the domain name you like to add new FTP user.


then tick the Additional FTP option and enter your FTP username and password. Note: a prefix username_ will be automatically added, in my case is admin_.

add ftp

Once done, hit the Save button. Now you can use your favorite FTP client like Filezilla to upload your files. Use your VPS IP as Host at port 21.

upload ftp

That’s it. See? How easy it is to use Vesta CP. Enjoy..

Do not hesitate to leave comment below 🙂


Add a Comment

Your email address will not be published. Required fields are marked *

Get more stuff like this
in your inbox

Subscribe and get interesting stuff plus faster updates to your email.