App Details
Drupal runs on the CentOS 6 x64 operating system. If needed, you can log into the application VPS with an SSH client using the root login found on your Vultr control panel.
Before you get started, you will need to complete the Drupal installer. The installer is accessible through your web-browser by visiting https://[SERVER_IP]/install.php. Replace [SERVER_IP] with the IP address of your VPS. For security purposes, a login prompt was added to this page. The credentials for the login prompt can be found in the my.vultr.com control panel. The installer will prompt you for database settings, which are also listed in the Vultr control panel (or you can setup your own database).
Once the setup process is complete, you can access your Drupal website at http://[SERVER_IP]/.
If you plan on giving your Drupal site a domain name (like www.example.com), make sure that you point the DNS "A record" to the [SERVER_IP] of your Drupal app. Drupal may detect your domain name automatically after you set the DNS record. If it doesn't, you can force the URLs to match your domain name by updating the $base_url variable in/var/www/html/sites/default/settings.php. Note that you will need to SSH into the app VPS to change this file.
Your Drupal app has been configured to support uploaded themes and modules (up to 2GB each). These can be configured in the "Modules" and "Appearance" sections, after logging into Drupal as an administrator user.
A MySQL database is running on your VPS for Drupal. If you need to access it directly, you can connect by running mysql -u root after SSH'ing into your VPS as the root user. The MySQL root password is saved in /root/.my.cnf.
SSL Details
Drupal can be accessed with both http:// and https:// URLs. By default, the https:// URL uses a self-signed certificate, which displays a security warning. This can be safely ignored.
To disable https:// support, do the following:
- Login to your server using
sshas root. - Move the HTTPS vhost file out of the web server conf:
mv /etc/nginx/conf.d/drupal_https.conf /root/ - Restart the web server:
service nginx restart && service php-fpm restart
If you want to offer an https:// URL without the certificate warning, you would want to update the certificate to one provided by an actual certificate authority. To install a new certificate, do the following:
- Obtain a certificate from a certificate authority for your domain.
- Login to your server using
sshas root. - Replace the
server.crtandserver.keyfiles in/etc/nginx/ssl/with the updated certificate. Details on converting certificate formats are outside of the scope of this article. - Restart the web server:
service nginx restart && service php-fpm restart
