Hosting
-
Setting Up GitHub main and plugins repos on cPanel
This tutorial is to guide you how to setup SSH keys, configure them and clone the main/plugin repos for our WordPress sites. Prerequisites Step 1 – Create SSH keypair for the main repo You may enter this process by different means: Note: If you are in Situation B skip to step 2. Login to the…
-
Spoofing IP’s for websites (mac os)
Using /etc/hosts on macOS to Point a Domain to a Staging Server When previewing a website on a migration server before the domain goes live, you can override DNS locally using the /etc/hosts file. Why This Is Needed Some domains resolve to both: If you only override IPv4 like this: Firefox and Safari may still…
-
Changing the Default Git branch in Github
When working with Git, it’s sometimes necessary to change the default branch — especially if you want pull requests to target a branch other than main or master by default. This can also be important when migrating repositories from Bitbucket to GitHub, as GitHub may incorrectly set the default branch (often choosing the first one…
-
Local Development Environment Setup
Categories: Hosting1. Initial Setup This guide will walk you through setting up your local development environment for working on KZ client sites. By the end of this guide, you will have a fully functional local WordPress site that mirrors our staging environment. 2. Required Software Installation Before starting, install the following applications. 2.1 Local by Flywheel…
-
Bitbucket to GitHub Repository Migration Guide
This guide explains how to migrate a Git repository from Bitbucket to GitHub using the command line. It preserves all branches, tags, and full commit history. 1) Prerequisites 2) Clone the Bitbucket repository In a local directory (outside of your local environment like Local by Flywheel) you will clone the BitBucket repository. NOTE: this isn’t…
-
Basic Authentication in cPanel
✅ To Turn ON Basic Authentication for a Directory 🔐 Now, when someone tries to access that directory via browser, they’ll be prompted to enter the credentials you just created. ❌ To Turn OFF Basic Authentication for a Directory 👋 This removes the authentication requirement — users can access the directory freely via browser.
-
Site/Account Migration Between Servers
Pre-Migration Checklist Step 1: Create Backup on Source Server Step 2: Transfer Backup File Method A – Direct Server Transfer: Method B – Download/Upload via WHM: Step 3: Restore on Destination Server Step 4: DNS Updates Step 5: Post-Migration Verfication
-
Troubleshooting Common WordPress Issues
Plugin Conflicts Memory Limit Issues
-
Switching to maintenance mode with Sucuri
Categories: HostingWhen running a deployment on a website, whether it be a small change or new website launch, if the website is behind a Sucuri firewall follow these steps to switch over. Login to Sucuri Navigate to Firewall Search for the website you want to switch to maintenance mode. Navigate to “Hosting IP Address” When you…
-
Quick cPanel Backup and Restoration Guide
Categories: HostingcPanel Backup and Restoration – Quick guide Use the ‘Backup’ utility within the accounts cPanel to create a full backup: Depending on the size of the account, the backup could take a few seconds to several minutes. Once a hyperlinked file is visible here, you know it’s complete: The backups are kept in the homedir…
