1. Sign up Vultr.Com and create VPS Ubuntu

2. Install the HOSTVN Script on VPS Ubuntu

System requirements:

  • VPS / Server at least 512MB ram and have not installed any services.
  • Ubuntu 18.04, Ubuntu 20.04.

Step 1: SSH in to VPS/Server

To install you login SSH to the vps / server as root

Step 2: Install HOSTVN Script

Run the following command to install:

wget http://scripts.hostvn.net/install && bash install

After running the command on the script, it will automatically update and install the necessary packages, then enter some information to install the script.

In there:

  • Email to install Let's Encrypt free SSL and in the near future there will be an alert feature via email and Telegram
  • Enter the IP of the VPS or press Enter to let the script detect the IP by itself
  • The PHP version you want to install, there are full versions of 5.6, 7.0, 7.1, 7.2, 7.3, 7.4 here I choose 7.4
  • HOSTVN Script can run 2 versions of PHP in parallel, so you can choose to install another PHP version, here I choose 5.6
  • The option to install ClamAV, Memcached, Redis, PureFTPD you can choose to install or install later.
  • Change SSH port if you choose after installing the script will change SSH port to 8282.

Then you wait about 10-15 minutes for the script to install, if there are no errors, you will receive a successful installation message with management information as below.

3. Install WordPress on Hostvn Scripts

Step 1: Add a domain name

To add a domain name run the hostvn command to open the next menu select menu number 1. Manage domain names

Here you continue to choose menu number 2. Add a domain name to proceed with adding a domain name to VPS

Enter the domain name you want to use ( Domain without www ) and press Enter

Next select the PHP version you want to use (Note: If you only install one PHP version on the VPS, this step will not be available)

Select the WordPress source code by entering the number 1 and press Enter

When asked to Create database enter Y and press Enter

In this article, HOSTVN will guide you through a new installation of WordPress, so in the next step, choose to automatically install WordPress, select Yes by typing 1 and pressing Enter.

After choosing to automatically install WordPress, fill in the necessary information.

The installation process will take place completely automatically, you just need to wait until the installation process is complete. After the installation is complete you will receive login information to wp-admin including username and password.

Note that you need to point the domain name to the VPS to be able to access the website.

Step 2: Point a Domain Name to Your Vultr VPS

Example: Go to the domain Namecheap.com management, the "Advanced DNS" tab, click Add New Record (red letters), select A record and then enter the following information:

  • Host: Enter the character “@”.
  • Value box: Enter the IP address of the hosting or VPS.

Next, click on the gray tick to save the information to create a new A record.

Point a Domain Name to Your Vultr VPS

Enter all 3 Records as shown… @, *, www and point to ip vps and that's it!

Please ping the domain to check that the domain name has been successfully pointed to the ip vps

Step 3: Login to wp-admin and start configuring the website

After receiving the wp-admin login information, log in to wp-admin under the path http://your-domain.com/wp-admin . Here you can start installing plugins, themes and customizing your website to your liking.

4. Install SSL with Let's Encrypt on Hostvn Scripts

The Let's Encrypt management feature helps you to turn your website from http:// to https:// for free without any cost.

1. Add SSL Let’s Encrypt

First in the main MENU interface . You go to SSL Management (2)

Next are the functions of SSL Let's Encrypt. include

  1. SSL Let’s Encrypt
  2. Paid SSL

Here in case you want to use free SSL, choose number (1) 

Then there are functions like:

  1. Add Let’s Encrypt
  2. Check SSL Term
  3. Uninstall Let's Encypt

If you want to install free SSL for your new website, then you choose number (1) 

Then a screen will appear on the domain names available on the VPS, which domain name you want to install, just select the number corresponding to that domain name. that's it

2. Check SSL Term

With this function, you can check the remaining duration of the free SSL that you have installed previously, in the management panel you choose number (2) to go to the function to check the term

At this time, the screen will also show the domain names in the VPS, you just need to select the number corresponding to the domain name to check the SSL term of that domain.

3. Uninstall Let's Encrypt

SSL removal feature will help you remove ssl from your domain name, to use this function on the screen interface you choose number (3) 

Then a list of domain names will appear on the screen for you to choose and remove, select the number corresponding to the domain name to be removed.