How to host Prestashop on Vultr Server - ServerAvatar

Published : Dec 31, 2022

Share This Post

cloud-platform

Vultr

Vultr is one of the simplest cloud platforms available. It is very easy to create and manage infrastructure in Vultr. You can create on-demand cloud instances or servers at 28 different locations world wide.

Get started with Vultr
application

Prestashop

Prestashop is a free and open-source platform that allows users to create an e-commerce store and enables them to sell products and services online in one place.

More info

Create a Cloud Instance in Vultr

To create a server in Vultr, follow the below given steps. If you want to learn How to use Vultr to manage your infrastructure in Vultr, You can refer our Vultr cloud guide.

Step 1: Go to Instance Creation Page

Vultr provides lots of different types of cloud instances. From the server creation page, you can create lots of different types of cloud instances, like Regular VMs, Dedicated, Bare Metal, Cloud GPUs and some managed services.

To access the server creation page, log in to your Vultr account and click on the Deploy New Server option from the + button given on the dashboard.

Create server in Vultr - Step 1

Step 2: Choose Server

You can create 4 different types of cloud instances. They are Optimised cloud compute, Cloud compute, Cloud GPU and Bare Metal. Select the one that fits your requirements.

Create server in Vultr - Step 2

Step 3: Choose Server Type

Based on your selection of the server in the second step, You will have to select a specific type of server. If you have selected Optimised cloud compute instance, You will see options like the following image.

Create server in Vultr - Step 3

Step 4: Select Server Location

Location is very important option. Make sure to select a server location closest to your major traffic source demographically. You can select locations in 5 different continents.

Create server in Vultr - Step 4

Step 5: Select Server Image

In simple terms, Server image is an operating system running on the server. So here, You have to select an OS for your server.

If you are managing your servers with ServerAvatar, Select Ubuntu 20.04 or Ubuntu 22.04.

Create server in Vultr - Step 5

Step 6: Select Server Size

Here, Select a server size according to your requirements. If you are just getting started with the project, You can start small and then upgrade according to the future requirements.

Create server in Vultr - Step 6

Step 7: Add Auto Backups and Additional Features

We recommend you to enable auto backups for important websites or apps. If you are creating a temporary server, You can skip the auto backups.

In additional features, You can enable DDOS Protection if needed. Enable other options according to your requirements.

Do not enable "No Public IPv4 Address" option. It will result in a server without IPv4, which is not possible to connect with ServerAvatar.

Step 8: Select an SSH Key

If you use SSH key to authenticate with the server, Select an SSH key in this section. If you haven't uploaded your key yet, You can do it by clicking on the Add New option.

SSH key is not mandatory. If you do not use SSH keys, Ignore this option. You can still connect with server using password.

Create server in Vultr - Step 8

Step 9: Firewall Group

If you are using Vultr firewall, You can select the firewall group from here.

If you do not have 43210 port enabled in your firewall group, you need to configure it to connect a server with ServerAvatar.

Create server in Vultr - Step 9

Step 10: Server Hostname and Label

You have to choose the hostname and the label for the server in this step. You can set the same hostname and label. They are used for identification purpose only.

Create server in Vultr - Step 10

Step 11: Deploy Now!

Finally, click on the Deploy Now button to create a server. It might take a minute or two to fully boot up your server. Once it is ready, You will see it in the Products section in Vultr.

Create server in Vultr - Step 11

Initial Server Configuration

The Initial server configuration includes installation and configuration of various packages required to host your website. Usually, You have to write commands and modify configuration files. Luckily, With ServerAvatar, Your full server configuration and optimisation can be automated.

Here are the three ways to automatically configure your server with ServerAvatar.

Auto-install Prestashop with ServerAvatar

Step-1 Create a PHP application

On the server panel, access the Application tab from the sidebar and click the Create button like the image below.

Create application

Fill up the details, including the Application Name, Primary Domain name, and other Advanced Settings if required.

Application form

Note that:

If you want to host PrestaShop e-commerce platform on your domain, then make sure to point your domain to the current IP address of your server, and for that:

  1. Log in to your hosting provider site, where you buy your domain. You can check your domain information with one click.

  2. Access DNS Manager to edit your DNS records(contact the support team if you don’t find them)

  3. Change the IP address of A Record of your website to the current server’s IP address.

Click the Create Application button.

Step-2. Auto-install PrestaShop with ServerAvatar

Now on the application panel, click the Auto Deploy button from the sidebar.

Auto-install Prestashop

Click the PrestaShop Auto Install card, as you can see in the above image.

It asks to enter PrestaShop details to deploy an application, which includes-

Database details

  • Database Server: Select the server you want to host your database.
  • Database Name: Enter the database name.

PHP Settings

  • PHP Version: Select the supported PHP version for Prestashop application

Admin Information

  • First Name:Admin's first name
  • Last Name: Admin last name
  • Email: Admin email address. This email will be used in case you forget your password
  • Password: Admin login password

Application details

Once you fill in all the details, click the Install Now button.

Step-3. Install SSL Certificates

Go to the application panel. Click the SSL Certificate tab from the sidebar.

Install SSL

You can also Force HTTP to HTTPS to redirect all your traffic to the secure connection.

Access the URL of your application on the browser and log in using admin credentials to use Prestashop admin panel.

That’s it. Now you can add your products and manage all your products on one dashboard.