James McDonald

Access

Blog History

NGinx Logrotate

When you start creating virtual hosts under NGinx and give them separate access and error logs don't forget to update the logrotate configuration otherwise your logs just keep growing. I have named my logs with .access and .error extensions instead of the default .log...

read more

Postfix / Mailgun Setup

For each website domain name I want to send email and make sure that it reliably delivered through a trusted relayhost. Mailgun allows you to set TXT records for each of your domains to add the mailgun smtp relay servers as trusted hosts for relaying your email from...

read more

Apache to Nginx

Just completed moving this website https://toggen.com.au/blog to nginx web server. The issues I found: Installing and configuring php-fpm to run per user Learning the syntax of the nginx conf files Rewriting the .htaccess files into the correct nginx rules Trying to...

read more

Nginx vs Apache

Running nginx with php-fpm configured to run a php-fpm Running Apache using mod_fcgid to run php-cgi as a different user from Apache I ran the Apache benchmarking tool ab -c 100 -n 10000 http://servername/php_page.php The php_page.php file has the following in it....

read more

ZPanel Hosting Control Panel

I am looking around for a control panel that can. Create a domain, add users, add mysql databases and basically lighten the load when adding websites to my Rackspace VPS. Zpanel does all of the above but... I notice that it runs apache and mod_php as the apache user...

read more

ElegantThemes Divi FTW

I have a friend who does roof tiling and repairs, along with gutter cleaning in Maitland NSW. I have just gotten him a website going using Eleganthemes.com Divi Wordpress theme. The Divi theme is a powerful html5 mobile friendly theme which has so many pre -...

read more

My Head is Feeling Stuffy

Many different interests on the web want their own Web Metadata Protocols and Schemas to allow web site operators to present data to them so they can easily place it on their pages whether it's social networks, search engines, browsers, mobile devices there are...

read more