Home Platform info

Platform info

All information related to the various platforms–such as WordPress, WooCommerce, Magento 2, and Laravel–we support, including information about our own Servebolt platform

How to setup server-side cron for WordPress Multisite

When WordPress is setup as a Multisite/network installation, the cron event process needs to be called for each individual site in the network. This can either be manually setup or solved using a simple script. This script was originally created by Bjørn Johansen. Note: if you still receive emails regarding…

Search-replace URLs using sed -i command

There are several ways for replacing URLs when it comes to your site. But the simplest is using commands when you’re logged in via SSH. For WordPress sites we do have WP-CLI installed on all our servers which comes with a very handy command. You can find more information on…

How to setup Drupal Cron Jobs

To improve performance in Drupal, we recommend disabling the built-in cron system in Drupal and run cron on the server side instead. This will offload the website and may cause significant improvements to the TTFB (Time to first Byte). You may still receive email messages regarding cron jobs if an…

Setup of Laravel on Servebolt

Laravel is a modern PHP-framework. SSH is available on all Bolts, and composer is part of the standard stack. Webroot is now configured to use ~/myproject/public as standard folder, and your Laravel project should be available on the web.

Development mode

By default, Servebolt enables a static cache for CSS, JavaScript and images. If you are actively developing your website and want to see the changes you make, it not smart to not cache static content. For this purpose, we have a “Development mode” available. Development mode is easily activated through…

What is the web root folder and site root folder?

The web root is the folder where the website files for a site are stored. Each site under your host gets an unique root folder. The root folder is placed under the sites username. Inside the web root folder you’ll find folders like \logs, \public, \private and more. Site Root…

What are the hardware specs on Servebolt?

We understand that you want to know the hardware specs. The hardware specs can tell you something about value for money, right? Well, not with us to be honest. And the reason why is that we do optimisations on a deeper level than any other hosting provider we know of.…

Do you have VPS?

No, we do not run VPSes. The reason is that VPSes are slow by design. We care about performance, and are therefore running high performance shared hosting. Shared hosting is slow you say? Try us, running a bolt will blow your mind. Sign up for a 100% free test and…

How much RAM do you get?

We do not mention RAM in our pricing, and there is a good reason for it. It simply doesn’t matter, since we make sure it’s enough. Our servers are configured with 64 to 128 GB RAM, depending on the rest of the server configuration. memory_limit is what matters Our plans…

Servebolt Caching and Cache Policies Options

The setup of all sites on our servers involves two web servers. A front-end webserver (nginx) that handles SSL connections, load balancing and caching, and a back-end web server (Apache) that handles PageSpeed and runs your PHP application. The front-end web server (nginx) obeys the cache policies that are defined…

How to manage disk space and disk usage

Many traditional hosting providers offer huge amounts of storage, with the likes of 100’s GB of data. This is a practice known as overselling, which is done in order to make the services seem better and larger than they actually are. At Servebolt we don’t oversell. Our storage solution is highly…

Supported PHP Versions

We provide support for PHP 7.2, 7.3, and 7.4 for all new Bolts and websites with us. Our PHP installations are optimized for speed and performance, with unique features for Servebolt customers.  Our recommendation is to always run the most modern stable version of PHP that your application supports. It…

Can I get root or sudo access?

Our short answer is no. Why can’t I get sudo or root access? First of all, the Servebolt Operations Team does the maintenance and configuration of the servers. That is our job, and part of our managed hosting product. The servers and their configuration is optimized for maximum performance. We…

Remote Database Access – SSH Tunnel

It is possible to connect directly to a database on Servebolt from a remote server or your local computer, if if you run the traffic through an SSH tunnel. Our firewall and servers do not accept direct connections on port 3306, but you can get past this by initiating an…

Database Performance

Database performance is an advanced topic, and fixing issues relating to the database or specific queries often requires deep knowledge of the application framework, and how databases work. This article provides some insight into best practices for achieving good database performance, and how to identify problems. Best practices There are…

Setting up a fresh database

To set up a new database you need to navigate to databases in the host menu from the host dashboard. From here you can click “add new database”. This will redirect you to a page where you are asked to put inn the name of you new database and if…

Changing database password

To change you database password, navigate to databases in the host menu from your host dashboard. Find the database you want alter and click “set password”. This will redirect you to a new page where you can either write your own password or generate one.

Deleting databases

To delete a database, navigate to databases in the host menu from your host dashboard. Find the database you want delete and click “delete”. This will redirect you to a new page where you are asked to verify that you want to delete the database.

Connecting to your database

Whether you are using WordPress, Magento, Drupal or something completely custom to your site, the connection to the database should be pretty similar. When you register you host you will receive alle the necessary information about your database. The database most often runs on the same server as your website,…

Login to phpMyAdmin

To access phpMyAdmin, all you have to do is got to databases in the host menu and click on the server URL. This will redirect you to the phpMyAdmin page. From here you enter the information you have received in the email when your first set up your site.

Importing databases

There are two ways to import a database to phpMyAdmin. You can either use the phpMyAdmin or SSH command. If you are not familier with terminal commands we recommend you stick to the phpMyAdmin way.  Through phpMyAdmin:   When using phpMyAdmin you can easily go to the import tab, choose…

Exporting database

There are two ways to export a database. You can either use phpMyAdmin or SSH command. If you are not familiar with terminal commands we recommend you stick to the phpMyAdmin way.  Through phpMyAdmin:   Before exporting make sure you are on the correct database, and not information_schema. When you…

Magento 1.x Basic Configuration

Magento 1.x requires a couple of basic configurations to make it work. .htaccess Magento 1.x comes with a terrible .htaccess file out of the box,  which slows the sites performance down significantly and sets defaults for variables that limit scalability. Replace the full contents of Magento’s .htaccess with this: Correct…

Magento 2 Cron Jobs

After you’ve installed Magento 2, you will need to configure Magento 2 cron jobs next. On Servebolt your cron jobs are managed through the Servebolt Control Panel. This means that you can not expect documentation you will find online and built-in features in Magento to manage cron to work.  How to set…

Modifying files through SSH

When you have gained bash$ access to the server you can explore different methods of altering files. Two popular methods with linux bash is vim and nano. This will open a simple text editor. We recommend you test out what you can do with each one. nano .gitignore Nano shorthands…

Connecting using SSH

To connect to your server with ssh you need to firstly go in the control panel of your host, under settings you will find a setting about SSH access. Make sure that is set to ‘on’, if you can not see the settings, check if you have access rights. Partners…

Resetting SFTP/SSH password

From the host dashboard, navigate to the site you want to reset the SFTP password at. You click “Reset SFTP password” in the top right corner of the server login information. From here you can either choose your own password or generate a new random password. The SFTP password is…

How to set up SSH authentication with keys

First of all do you need to have SSH access on both machines that you want to set up authentication with. I will describe how to do this mostly manually with command prompt / terminal. Local machine Log in with SSH to the machine you want to be authenticated. From…

File not found 404 Retina.js @2x images

If you see 404 file not found errors with @2x in the file name, in either your site’s loading waterfall or the logfiles – you should add this block of code first in you .htaccess file. When retina.ja tries to fetch images that do not exist, a full version of…

Lock down xmlrpc.php in WordPress

he WordPress xmlrpc.php endpoint can be misused as en endpoint for brute force attacks.  If you do not use xmlrpc.php for any integrations, you might as well disable it completely. Adding these lines to your .htaccess file will disallow access to the endpoint for everyone. Edit your public/.htaccess file and…

How to use Servebolt Optimizer for WordPress

Our plugin, Servebolt Optimizer, enables you to: Enable our best practise database optimisations for WordPress and WooCommerce Read the errorlog directly from the WordPress Admin Enable the Full Page Cache How to use it with WP CLI Install the plugin wp plugin install servebolt-optimizer --activate [--network] You should now be able…

Optimizing WordPress

WordPress by default is blazingly fast at Servebolt, but there are some things you can do to your WordPress site that optimizes it even further. Consider this some basic WordPress hygiene. Database indexes In the examples we have used the standard wp_ prefix for table names, this may differ between…

Basic Optimization for Performance and Scalability

This article gives insight into some basic adjusments you should make to your code, database and possibly workflow, that will result in improved performance when your application runs on our servers. By going through these few steps a websites performance can changes from being sluggish – to being snappy and…

Black Friday Optimisation Check List for Developers

Database Basic database preparation and maintenance Log in to PhpMyAdmin, and look at the tables overview for your database. All tables should be InnoDB or MEMORY. All MyISAM tables should be converted to InnoDB Run “Analyze tables” on all tables in your database.** This will force indexes to be rebuilt…

Update URLs in database

WP-CLI & wp search-replace Sometimes you need to update a URL in your database, like when you move your site to a new domain. A very easy method of doing so is to use the command-line tool WP-CLI. WP-CLI comes preinstalled on all bolt, the only thing you need to…

Helpful WP-CLI commands

We use WP-CLI a lot, and here is the most common WP-CLI commands we use in a cheat sheet. WP-CLI man pages Create admin user List all users: Replace all URLs in the database List plugins  To get the status of all plugins Run Servebolt Optimizer Analyze tables Analyzing tables…

Manage WordPress and WooCommerce via SSH with WP CLI

The command line interface for WordPress – called WP CLI – is installed for all hosts on Servebolt and is available when you log in to your site with SSH.  You can use WP CLI in the /public folder (where your site is) by running the wp command. The following commands…