This article contains information about the Magento application that can be deployed on Vultr.
To launch the Magento application on Vultr, you must pick a plan with the following requirements.
Magento runs on the Ubuntu Server LTS operating system. It is the Magento Community Edition (CE) flavor. You can log into this system with an SSH client using the root login found on your Vultr control panel.
To access the Magento storefront, navigate to https://[SERVER_IP]/
in your web browser. Substitute the [SERVER_IP]
with the IP address of your VPS. The Magento backend (admin area) has a secret URL. The secret URL and login credentials for accessing the backend are listed in the Vultr control panel. Please note that it may take several minutes after launching the Magento application for either of the URLs to become available.
Magento is installed on your VPS at /var/www/html
.
Your Magento server can be accessed with either http://
or https://
URLs. Accessing with http://
will automatically redirect you to https://
. By default, the https://
URL uses a self-signed certificate, which displays a security warning. This warning can be safely ignored.
Depending on your plans for your Magento server, you may want to update the certificate to one provided by an actual certificate authority. Doing so will remove the security warning shown by your web browser. To install a new certificate, do the following:
ssh
as root.server.crt
and server.key
files in /etc/nginx/ssl/
with the updated certificate. Details on converting certificate formats are outside of the scope of this article.systemctl restart nginx.service && systemctl restart php7.2-fpm.service
( PHP version may vary )If you plan on using a domain with your Magento application, you will need to point the DNS "A record" to your [SERVER_IP]
. This will allow you to access Magento by navigating to your website (https://www.example.com
). You must also update Magento's configuration by following these steps below.
https://[YOUR_DOMAIN]/
.https://[YOUR_DOMAIN]/
.Your Magento application is now accessible at https://[YOUR_DOMAIN]/
.
There is a MySQL database server running on your Magento application server. You can connect to the database by executing the following:
mysql -u root
The MySQL root password is saved on the file system in /root/.my.cnf
.
Magento 2.1.3 has an issue where a link to the updater was not included in the admin panel. You can navigate to the updater manually with the following link. Replace the parts in caps accordingly.
https://[SERVER_IP]/[admin_SECRETURL]/admin/backendapp/redirect/app/setup/
Vultr applications use modern releases of software packages. Applications are configured to be deployed with specific versions of software. Over time, the Vultr team will update the application offerings to include newer operating systems, package versions, etc. This document only provides up-to-date information about the latest version of this application. Vultr applications are updated without notice. If you plan to build a project or infrastructure based on our application templates, we recommend taking a snapshot of the application used in your initial deployment.
You could earn up to $300 by adding new articles