Category: Guide

Migrating Servers

To migrate an installation of Site Wrangler and the websites installed on it to a new instance, follow this guide. This guide assumes you are using Deban Linux. Substitute your distribution’s installation commands where applicable. THIS GUIDE ASSUMES YOU ARE MOVING TO AN EMPTY SERVER! THE COMMANDS HERE MAY OVERWRITE IMPORTANT DATA IF YOU MIGRATE…
Read more

Sending System Email Through Another Server

This should only be done if the server is not an email server. This will allow system emails to be sent through the email address of another server. If you have not already done so, set up the email address you will be sending system emails through on the other server. Exim The next step…
Read more

Fix Occasional Mail Connection Errors

In your mail client, when your settings are correct you may still get an occasional connection error in some circumstances. This can often be the case when you have several devices logging into the same mail account on the same network. Verify the Problem The first thing to do is to make sure the error…
Read more

CMS Cheat Sheet

Always replace DOCROOT with the actual path to your document root. By default, this is ~/public_http WordPress WordPress can be easily managed using the command line WordPress, WP-CLI. WP-CLI comes preinstalled with SiteWrangler. Information on how to use this tool can be located here. DB Configuration DOCROOT/wp-config.php WordPress-specific Site Wrangler Features While the WP-CLI is…
Read more

Migrate a Website with Minimal Downtime

Because the global DNS system takes up to 48 hours to take to DNS changes, websites that allow users to make changes on a website must typically disable user input during a transfer. However, since Site Wrangler uses nginx, we can shorten the outage to only a few minutes. This guide assumes you are migrating…
Read more

Migrating a WordPress site from cPanel

The first thing to do when migrating a WordPress site is to identify everything that needs to be migrated. We will need to copy the site files, and the database, then test the site on the Site Wrangler server before updating the DNS to point to our Site Wrangler server. Create a New User First…
Read more

Setting Up Email A-Z

Assign the Domain to a System User This guide assumes you have already run the installer for Site Wrangler’s email system. If you have not, follow this guide. As usual, replace example.com with your domain and exampleuser with a real username. First, if you do not already have a system user to store the email…
Read more

Keeping Website email from going to your Gmail/Gsuite Spam Folder

Before you prevent your website email from going to your spam folder, remember that Google will still analyze your email for spam for their filters. If your site is sending spam to your Gmail account, it may flag your server and/or domain for sending spam. If this happens, other email users on the webserver will…
Read more

Using a Screen

When running commands that affect the system through SSH, we run the risk of our commands getting cut short mid-process if a connection is lost. This is becomes more important when running commands that take a long time to complete such as software builds. We can use the unix tool screen to create a persistent…
Read more

Managing PHP

Managing Installed PHP Versions Site Wrangler allows us to easily install, and uninstall PHP versions. First, if we have not already done so, we must enable a PHP version to use: sw php install This will open a selector to choose a PHP version to install. It is okay to have extra PHP versions installed…
Read more