How to disable the WordPress CRON job and set it up in Onyx
WordPress doesn’t have a built-in scheduler to run regular tasks, so to get around this it fires off a request to process wp-cron.php every time a visitor requests a page.
There are a couple of issues with this, firstly on busy sites this means this cron task will be running all the time - when it really doesn’t need to.
On a small website with a few pages and a few hundred visitors a day wp-cron.php isn't a problem, but imagine a larger website with maybe a 100 visitors an hour. If eaFew readersManaging files using Onyx File Manager
The Onyx File Manager can be found within each site's dashboard. Click File Manager in the left hand menu to access it.
We have a separate guide on using SFTP to access your Onyx files and folders.
How to get around
The double fullstop .. will take you back to the previous directory (up oFew readersManaging sub-user accounts
There may be times when you would like to allow access, through Onyx, to one, or more sites.
For this reason, Onyx supports the adding of additional users to chosen sites.
Some uses of this feature might be:
Giving administrator access to a site and all it's Onyx settings to a developer
An agency giving a client full access to their sites through Onyx
An agency giving permissions to specific site to a member of staff
When you setup another user in your Onyx account all you wiFew readersHow to cancel your Onyx hosting (and domains)
To cancel your Onyx hosting service, you will need to be loggeFew readersuser.ini - Changing PHP settings and restarting PHP
You are able to make changes to some PHP settings via a .user.ini file. This file doesn't exist by default - you will need to create it within the html folder of the relevant site.
You can create this using the Onyx File Manager or by uploading a file using FTP.
Create the file in your site's root folder: /www/html/Few readersHow to Contact Onyx Sales and Support
Contacting Support or Sales
We answer many common questions - both pre-sales and technical, in our Knowledge base - so try a quick search there first.
If you don't find the information you need in our knowledge base, you can submit a support ticket, open a live chat or give us a call!
All our contact options can be found with the Support menu drop-down within your OnyxFew readersCreating a clone of a live site
There are several options for making copies of your sites. This guide covers cloning a live site - making a completely separate copy of a site that'll run on a different URL.
We have other guides on creating a clone directly from a site backup or creating a staging site (where any changes you make can be pushed back to theFew readersOnyx Resources - CPU, RAM, Storage and Containers Explained
CPU, RAM, Storage and Containers - You've likely come across these terms while deciding on the right web-hosting plan for you, but what do they actually mean?
The following guide aims to give a simple overview of what each of these key aspects of your hosting plan actually do and why they're so important.
What is a CPU?
The CPU (Central Processing Unit) isFew readersRe-installing the default plugins and other Onyx tools
Onyx has three tools available;
Re-install default plugins
Restart PHP
Regenerate wp-config.php file
This article runs through each of those tools and their uses..
Accessing Onyx Tools
You'll need to start by logging in to your Onyx dashboard.
From your Onyx dashboard, click on the site you'd like to access.
(https:Few readersWhy does my Onyx visitor count show as higher in Onyx than my Analytics tool?
You may have noticed that your Onyx visitor count sometimes appears to increase faster than the visitor count on analytics tools such as Google Analytics or Plausible.
Essentially, this is because each tool uses a slightly different way of working out unique visitors.
How does onyx determine unique visitors?
Onyx defines one visitor as one unique IP / useragent combinationFew readersOnyx WordPress site importer - Importing a site using SSH
Onyx offers several options to import your site. This guide walks you through importing a WordPress site in to an existing Onyx WordPress site. This will import all files and the WordPress database.
If you would prefer to import a WordPress site from a cPanel account to a new Onyx site, we have a separate guide on using the KARMA Onyx export tool.
Mailbox MigrationsFew readersHow to check your PHP settings values
Checking your current PHP settings
If you want to know what settings are in effect on your server, then create a php file containing the following code and browse to it using a web browser.
The page will return all of the PHP environment settings, and module information.
e.g. use Onyx File Manager to create a new file called phpinfo.php inside your www/html/ directory and copy/paste in the abovFew readersViewing the Onyx logs
Onyx logs can be found under the Logs or Reports headers on the left hand menu.
Page Views
This menu item shows a graph of site requests over time. It shows unique visitors over the time period selected - Last hour, Last day, Last 30 days (default view) or Last 365 days.
(https://storage.crFew readersAccessing and working with Staging sites
Staging sites are a special type of clone - in that any changes you make on a staging site can be pushed back to the live site it was created from.
Staging sites do not count towards your Onyx site limit like Cloned sites. You can have up to 2 staging sites per live site.
Accessing Staging sites
Staging sites can be accessed either via the Sites top menu where they appear under the live site with a purple arrow indicator.
(https://storage.crisp.chat/users/helpdesk/website/d7c5b76Few readersHow to configure Onyx DNS for Google G Suite
This guide details how to setup the required DNS entries to use G Suite email alongside your web site/domain on Onyx
The first article linked above also details how to add DNS entries in the Onyx DNS tool.
Once you’re on the DNS Tool for your domain, we are going to add the records provided by Google on their websitFew readersHow to access your database via phpMyAdmin
phpMyAdmin is a database management tool. It can be used to perform database imports and exports as well as edit data. It should be used with caution as incorrect use could cause data loss or damage - we'd recommend creating a manual backup before changing anything.
You'll need to start by logging in to your Onyx dashboard.
From your Onyx dashboard, click the Manage button for tFew readersConnecting a domain to Onyx
New Onyx sites are provisioned with a holding domain (e.g. onyx-demo.onyx-sites.io), however it's likely you'll want to connect your site with your own domain.
There are two steps to this process, firstly connecting your domain to your Onyx site - covered in this guide, and secondly deciding how you want to point your domain to Onyx - either by adding an A record if you host your domains DNS elsewhere, or setting your domains nameservers to Onyx and making use of the Onyx DNS Tool.
This guideFew readersAssumptions of the Onyx platform
As Onyx is a managed WordPress hosting platform, there are a few assumptions that we have to make to ensure that the managed features are able to work as intended:
Single Sign-On (SSO)
In order for SSO to work, we assume that bothwp-admin and wp-login.php are located within/var/www/html. If these are moved manually or with the use of a third-party plug-in SSO willFew readersWhat IP address do connections from Onyx come from?
If you need to connect to remote systems (e.g. a remote database) from your Onyx site - you may need to white-list the Onyx platform IP's to ensure you can connect.
Because your Onyx site can be served from multiple containers you need to whitelist the following IP range:
185.199.223.0/24Few readersUsing KARMA to export WordPress sites from a cPanel account in to Onyx
We offer a number of ways to get your WordPress sites up and running in Onyx.
This guide walks through using KARMA from within your Krystal client area to find and export WordPress sites currently within cPanel accounts in to Onyx. This tool will export full WordPress sites - all files and the associated database. It will work for cPanel accounts within your Krystal account and also for external non-Krystal cPanel accounts.
We have a separate guide on using the Site Import tool within Onyx siFew readersRestoring files or databases from a backup
You can restore either your entire site or parts of your site using an Onyx Backup.
Log in to your Onyx Dashboard
Click the site you would like to restore.
Click on the Backups option on the left menu
Click Details fFew readersWordPress admin login/dashboard IP protection
This article describes using IP address protection to restrict access to the WordPress admin login/dashboard. This does not prevent users from accessing your site, it only restricts access to the WordPress admin login/dashboard. You could use Onyx Password Protection or a Maintenance Mode/Coming Soon plugin to prevent users seeing your site whilst it's in development or whilst you are making changes.
There are two stFew readersEnsuring that Onyx cache is working
This guide explains how to check that caching is working correctly for your Onyx site. It includes checking if the LiteSpeed cache plugin is installed, that there are no other plugin conflicts and verifying your content is being served from cache.
LiteSpeed Cache plugin
The LiteSpeed Cache WordPress plugin is installed on all sites by default. You will see a banner in your sites dashboard if the cache plugin is not installed.
(https://storage.crisp.chat/users/helpdesk/website/3098dcaFew readersOnyx Plan Resource allocation - How do I increase my sites resources?
When looking at hosting a site, your first question will generally be something along the lines of:
"How do I know what resources are necessary for my website and my plans for future development?".
While this is a natural first question and the best way to start your search for an appropriate shared hosting plan, Onyx does things a little differently and as a result, you will iFew readersSetting and managing up Onyx CRON jobs
CRON allows you to schedule commands to run on a repeating schedule.
If you wish to disable your WordPress Internal CRON job and replace it with an Onyx CRON job we have a separate guide that covers this.
This guide covers adding other CRON tasks.
Managing Onyx CRON jobs via Settings Cron jobs
(https://storage.crisp.chat/users/helpdesk/website/81cd1b6c9a391800/7ddf3668-4371-43ef-Few readersPassword protect your WordPress site
Onyx has two built-in ways to control access to your sites. This article describes one way - using password protection to restrict access to the entire WordPress site. This is independent of, and in addition to any WordPress login your site may require.
You could use a Maintenance Mode plugin to prevent users seeing your site whilst it's in development or whilst you are making changes.
There are two steps to complete, firstly enabling the password protection, and then secondly creating authoriFew readersManaging your Onyx site caching
Onyx utilises LiteSpeed load balancers and they work alongside the LiteSpeed WordPress Caching plugin.
WordPress installations on Onyx come with the LiteSpeed caching pre-installed. If you've migrated your site to Onyx and the plug-in is not installed, or it's been removed for some reason we have a guide on reinstalling the default plug-ins and other Onyx tools.Few readersUnable to create directory uploads
"Unable to create directory uploads" is a very common WordPress issue when moving from one webhost to another.
The error means that WordPress no longer has permission to save uploaded files/media to the designated storage directory and more often than not, WordPress is actually attempting to save files and media into a folder that no longer exists.
The specific reason behind this error is due to the way that some website hosting companies manage upload paths.
WordPress installers and/or websiFew readersHow we define a Unique visitor
Onyx plans differ from standard shared hosting in a few key ways.
One of the most important factors is how Onyx differs when it comes to resource allocation.
Resources and unique visitors:
Most web hosts will use resource allocation as the primary method of both pricing and differentiating their services, however, Onyx doesn't use traditional resource allocation methods. Rather, your available resources will scale to match the site's traffic and current use. This is where unique visitorFew readersFind your database details in the Onyx dashboard
All Onyx sites are pre-configured with database connection information when provisioned, so there would only be a few occasions where you would need to use your database information, such as when connecting an external application to the database via a SSH tunnel.
You'll need to start by logging in to your Onyx dashboard.
From your Onyx dashboard, click the Manage button for the site you'd like to access.
(https://storage.crisp.chat/users/helpdesFew readersConnecting to your site using SSH / SFTP
SFTP stand for SSH File Transfer Protocol or Secure File Transfer Protocol. SFTP is used to get files too and from your Onyx site's storage. You will need to use the details you obtain from following this guide with your chosen FTP client software. This guide shows how to obtain all the details required to access your sites files via SFTP.
These same details are also used to access your site via SSH.
Enabling SSH and finding your connection details
You'll need to start by logging inFew readersConnecting to your Onyx Database via MySQL WorkBench
This is a brief guide covering connecting to MySQL on Onyx. For this guide we will be using an SSH Tunnel within the MySQL WorkBench tool provided by the MySQL website - external link opens in a new window.
Other remote MySQL software may look slightly different, but the general information required will be the same.
Prerequisites
Before you attempt to connect to your sites database, you will first need to ensure that you have enabled SSHFew readersCreating a Staging site
There are several options for making copies of your sites. This guide covers creating a staging copy of a live site. You can make changes to staging copies and then push those changes back to the live site.
We have other guides on creating a clone or staging site directly from a site backup or creating a clone of a live site (https://help.krystal.uk/onyx-staging-and-cloning/creating-a-clone-of-a-Few readersEnable the Onyx DNS tool
This guide describes how to use the Onyx DNS tool to manage DNS entries for domains using the Onyx Nameservers.
If you are looking for instructions on how to add a domain to a new or existing Onyx site please read our connect your domain to Onyx guide for full instructions - this will configure DNS automatically for you.
In order to use the Onyx DNS tool to manage your DNS the nameservers for your domain must be set to:Few readersHow to force HTTPS (SSL) on your Onyx Site
So, you've signed up for Onyx, you've configured your domain names and are using your free LetsEncrypt SSL certificates but you're still not seeing the green padlock or secure notice in your web browser. The steps in this guide will walk you through forcing all website traffic to use https://.Few readersHow to add a secondary database
Whilst most WordPress sites only require one database you may have a requirement to add a second.
You can do that from the Databases menu option.
Clicking Add a secondary database will create your second empty database.
You'll now see the second database lisFew readersWhich locations does the Onyx CDN serve?
The Onyx CDN has 40 Points of Presence around the world.Few readersOnyx automated and manual backups
Daily backups, stored for 30 days are included with every Onyx plan. You can upgrade per site to hourly backups as an option by contacting Onyx support with details of the site you'd like to upgrade.
Both automatic and manual backups for each site can be found by clicking Backups.
Manual Backups
Manual backups can be taken by entering a name and clicking the Create backFew readersHow to enable and disable the Content Delivery Network (CDN)
Enable CDN
To enable the Onyx CDN follow the instructions below.
Login to your Onyx dashboard
Select the site you wish to enable the CDN for.
Select CDN on the left hand menuFew readersManaging WordPress updates
On newly created WordPress sites, updates are enabled by default on Onyx. This means your WordPress sites will automatically update to the latest minor versions and translation files (e.g. 6.x.x to 6.y.y). WordPress does not automatically perform major version updates e.g. 5.x.x to 6.x.x).
Themes and plugins will not be automatically updated. We recommend that any WordPress, theme or plugin update should be tested thoroughly on a staging version of your site prior to updating on your live site.Few readersHow to configure Onyx DNS for Office 365 email
Finding your Office 365 DNS records
Log in to your Microsoft 365 Admin center.
From your Microsoft 365 admin center, click Setup Domains from the left-hand menu.Few readersCreating a clone or staging site from a backup
There are several options for making copies of your sites. This guide covers cloning from a site backup - making a completely separate copy of a site that'll run on a different URL.
We have other guides on creating a clone from a live site or creating a staging site (where any changes you make can be pushed back to the live site).
VisitFew readers