Welcome to WP Beaches

WordPress Websites design specialists, based in the Northern Beaches, Sydney
Design, Develop, Host


Syncing RunCloud and Cloudflare firewalls for fail2ban IPs

Cloudflare Fail2ban Serverpilot

This guide looks at adding a proxied Cloudflare service to a server set up with RunCloud and fail2ban with a WordPress jail conf set up. Once you start using Cloudflare as a CDN solution for your hosting, you are adding another firewall into the equation, albeit a very good one, but you may want to…

Finding the Large Files on a Linux/Ubuntu Server

Remove Large Files Webserver

Reducing space on a server is a never ending task, taking out the big unnecessary large files will speed up the process. A bloated log is an example of files that may be building up on your limited disk space. This command run on Linux: CentOS, Red Hat, Fedora and Ubuntu via command line will…

Creating a Social Media Menu from Icon Fonts with FontAwesome

Twitter Icon Fontawesome

How to make social media menus from icon fonts using the awesome FontAwesome. Fontawesome is widely used and supported in all modern browsers and older browsers.   <link href=”https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.3/css/all.min.css” rel=”stylesheet”> You can link to the Fontawesome CSS file via a CDN or just copy the download it to your site. If using WordPress you can…

How to connect to a MySQL or mariadb database with PHP

Php Connect Mysql Output Data

This tutorial will require a mysql database set up with a database user and password and a web development environment using mysql or mariadb, apache and php and a simple text editor. The tutorial takes you through establishing a mysql connection using php on a web page, connecting to a mysql table and retrieving the…

Tweaking RunCloud Servers After Deployment

Tweaking Runcloud Servers

Here are some references for various fix ups or tweaks that I apply to  servers with a RunCloud control panel. These are not all done inclusively, depends on the need. Change root password You root password initially generated by your host provider might be on the weak side always best to change and strengthen it….

Installing Gulp on macOS BIg Sur – Intro guide to Gulp

Gulp Macos

Installing Gulp on macOS Big Sur, macOS Sierra and earlier OS versions requires Nodejs and npm (Node Package Manager), so get that installed first following the linked guide. Gulp is an easier and slightly more modern javascript task runner than its sibling Grunt, which helps you automate numerous tasks in your workflow. You need to…

Installing node.js on macOS Big Sur and earlier macOS versions

Nodejs Macos

node.js allows you to run javascript in the Terminal as appose to a regular browser which makes for a modern workflow in web development, with both node.js installed and a package manager called npm (Node Package Manager) also installed, which can manage other packages that work with node.js, one of the main ones being gulp.js…

Query dns/domains in macos using dig and nslookup via the command line

Macos Dns Domain Query Nameserver

In macos you can query a domain via the command line via default nameservers with a couple of DNS querying tools, notably nslookup and dig, how that works is on the command line: dig domain.com or nslookup domain.com The results are returned to you on the command line. Query from a different nameserver To query…

In macOS, show the difference of 2 folders / files in the Command Line

Macos Folder File Diff

In macOS, you can compare and show the differences of files in two folders in the Command Line by using the diff command. With folders you use rq as an argument and pass in the 2 folder names on the command line like so… diff -rq folder_1 folder_2 You will get notifications on what same…