Advanced

Intro to Shell (CLI) for Plesk Linux

plesk-linux-shell

There’s a lot of Linux shell intro guides out there. There’s also a lot of intro to Plesk guides out there. But a reference guide to help you find the most common paths and command line utilities for managing your Linux VPS or dedicated server running Plesk is harder to come by. Before we get started, if…

Read More

How to use wp-cli with Plesk hosting

plesk-wordpress-cli

If you use WordPress to power your website and have a bit of technical knowledge (particularly of Linux shell), then taking advantage of the command line interface tool, wp-cli, might be of interest to you! WP-CLI is a command line method of working with WordPress. Rather than triggering actions by logging in to the WordPress…

Read More

How to set up a neo4j graph database server on a VPS

neo4j-vps-setup-websavers

This guide will show you how to set up a Neo4j graph database server on a VPS running CentOS 7. Start by logging in to your VPS via SSH as root, then run the commands in the Neo4j yum repo set-up guide documentation. Here’s the gist of that: Set up Repository rpm –import https://debian.neo4j.org/neotechnology.gpg.key cat…

Read More

How to avoid timeouts when importing a WordPress export XML file

plesk-wordpress-cli

WordPress provides a great mechanism for exporting and importing data simply by using Tools > Export or Import. However when used on large datasets, as well as media files that take time to import, you’re bound to run into timeout issues. Obtaining an XML export from the source If you’re exporting from another self-hosted WordPress…

Read More

Troubleshooting gateway errors and timeouts: 502, 504

This article can help you troubleshoot issues related to 504/502/gateway errors. When troubleshooting, it can be helpful to understand how the processing works between nginx and PHP, which is often used for high performance web application hosting, like WordPress. Common errors that occur that are connected to this configuration: Why is there a gateway? When…

Read More

How to use external DNS with Plesk

Already manage all your DNS records through your domain registrar? Perhaps you subscribe to a DNS service that uses multiple-location and/or anycast redundant DNS servers. You can indeed continue using your existing DNS service, however this makes configuration of things like mail services and new subdomains a bit trickier. When using a Plesk server for…

Read More

Enabling custom 403 error docs with nginx in Plesk

Please note that in order to complete these steps you must have admin access to Plesk. While you would think that enabling “Custom Error Docs” under hosting settings in Plesk, then editing the appropriate document under the /error_docs/ folder in your vhost root would do the trick, unfortunately that’s not the case. Those error documents…

Read More

Installing mongodb for PHP on Plesk servers

This guide will help you install MongoDB’s PHP Extension on a Plesk server. You require root access to the server, so this is not compatible with shared hosting environments. The last step should be run using your domain’s “System User” account. This guide uses the Plesk PHP 7.0 binary, but you can replace all instances…

Read More

How to use Composer with Plesk PHP binaries

We now provide composer within our customized chroot environment so running simply composer should now work without having to complete the below steps, except when logged in to a VPS as root. With Plesk 12 came the ability to install custom Plesk-built binaries for different PHP versions. This way if you require PHP 7.3 or…

Read More

How to set up a git repository with Plesk

git-repo-create-with-plesk

This guide describes how to create a git repository server on your Websavers hosting account. This is an advanced guide that requires some familiarity with SSH and the Linux shell. Tip: If you wish to clone/deploy a repository hosted on GitHub, BitBucket, or any other git server, see the Plesk guide to deploying with git…

Read More

How to setup a domain forward or 301 redirect in Plesk

plesk-forward-301-redirect

There are a variety of ways of redirecting visitors from one domain or page to another with 301 redirects being the style of HTTP redirect that is both user and search engine friendly. 301 redirects are a signal to search engines that a particular website or page has moved permanently to another URL. For example,…

Read More