This is an advanced tutorial. ServerPilot cannot provide any support for running an FTP server. The easiest way to run an FTP server is with a Python script that starts a simple FTP server.
When things go wrong with your apps, looking through your log files is the first step to troubleshooting your problems.
Internationalized Domain Names (IDNs) are domain names that contain non-ASCII characters. For example, the domain bücher.ch is an IDN because it has the character ü.
If your app requires the ImageMagick executables (for example, your app's configuration page asks for a path to ImageMagick) rather than the ImageMagick PHP extension, you can install the ImageMagick package by logging in to your server as root and running this command:
This article shows you how to automatically deploy your app from a git repo hosted at Bitbucket. That is, whenever you push your master branch to Bitbucket, Bitbucket will POST to a URL on your server, which will then pull and deploy the repo.
FFmpeg is a tool for converting video and audio files. Installing FFmpeg on Ubuntu 16.04 or 18.04 On Ubuntu 16.
There are several text editors for the command line, but nano is probably the easiest to use. Editing files at the command line can save you time as you don't need to download the files, edit them locally, and then upload them back to the server.
While you can manage your system user and database passwords through ServerPilot, you must contact your server provider if you need to reset your root user password.
The content of this article is for advanced users and expert sysadmins. ServerPilot cannot offer support with using a dedicated MySQL server.
Along with your dynamic PHP apps, you can easily host your normal html and other static files on your server managed by ServerPilot.
On the Business, ServerPilot gives you insight into your server's memory usage. The First Class plan also lets you view memory usage by each app's PHP processes.
If you notice an increase in CPU or memory usage on your server, the top command is one of the easiest and most reliable means of determining what is using those resources in real time.
To communicate with a Microsoft SQL Server (MSSQL) database, ServerPilot supports the ODBC extension in all PHP versions. Starting with PHP 7.
When Amazon EC2 left beta in 2008, many developers wanted to begin running their websites on Amazon EC2. However, there was no easy way for developers who weren't sysadmins to install a web stack on EC2 servers without learning server administration.
You can change your server's timezone by SSHing in to your server as root and running this command: sudo dpkg-reconfigure tzdata Then, follow the prompts to pick your preferred timezone.
Over the past decade, the web hosting industry has changed. Developers all over the world have moved from crowded shared hosting to fast and secure cloud servers managed by ServerPilot.
Careful! We can't provide support for customizations or for any errors, downtime, or vulnerabilities you introduce through customizations. Unless you're absolutely sure about what you're doing, you should stop now!
To install the MongoDB NoSQL database server, log in to your server as the root user and run the following command:
To install the Redis key/value store, log in to your server as the root user and run the following command:
ServerPilot automatically enables gzip compression on all of your apps. How Gzip Compression Works The gzip compression system works by temporarily replacing similar strings in files with shorter ones, making the total file size smaller.
ServerPilot configures daily log rotation for your application's log files. One week's worth of log files are kept for your application.
Google Chrome offers a quick and easy way to check if HTTP/2 is supported on your SSL-enabled site. First, visit your site in Chrome over HTTPS.
If you notice an unexpected amount of your server's disk being used, you can run the command line tool ncdu to track down what is consuming the most disk space.
Installing additional locales enables you to use PHP's setlocale() function so various other functions, such as localeconv() and strftime(), will return text formatted for a specific language or region.
Case sensitivity is a good thing; it prevents the server from returning the wrong directories or files and decreases confusion.
If you have customized Nginx, Apache, or PHP on your server, you will have to restart that service before it will function properly.
Careful! We can only provide support for PHP apps. Unless you're absolutely sure about what you're doing, you should stop now!
To customize the global configuration files (files in /etc/) that belong to Nginx, Apache, or PHP, you can use the following instructions:
Load balancing should only be used if you or one of your team members is an expert sysadmin. If used by developers who are not experienced with server administration, the complexity involved in load balancing will result in downtime and other breakage.
Autoscaling should only be used if you or one of your team members is an expert sysadmin. If used by developers who are not experienced with server administration, the complexity involved in autoscaling will result in downtime and other breakage.
For additional security from online threats to your site, CloudFlare is a popular—and free—content delivery network (CDN) that accelerates your site while protecting it from DDOS (distributed denial of service) attacks.
Introduction The most common way to automatically run scripts at scheduled times is through cron. For example, you can use cron to make scheduled web requests to a specific URL on your website.
If you use CloudFlare, you should not install mod_cloudflare. In fact, there's nothing you need to install or configure on your server.