• Skip to main content

Victor Font Consulting Group, LLC

Digital Business Strategists

Call Us:

+1 919-604-5828

  • Home
  • Care Plans
    • Care Articles
    • Optional Subscriptions
  • Consultations
  • Products
    • Code Snippets
    • Public GitHub Repositories
    • Gist Snippets
    • Pastebin Snippets (Free)
    • Free Plugins
  • FAQs
  • Support
    • Graphic Design
  • Our Team
    • Contact
    • Speakers
    • Portfolio
  • Resources
    • Free WordPress Video Training
    • Tutorials
    • Articles
    • Cybersecurity
    • EU Referral Network
You are here: Home / Computers and Internet / NGINX for a Wickedly Fast WordPress VPS

NGINX for a Wickedly Fast WordPress VPS

By Victor M. Font Jr.
December 6, 2014Leave a Comment

Nginx Logo Public Domain Image from Wikimedia CommonsNginx (pronounced "engine x") is a very popular Web server. In an April 2014 survey conducted by NetCraft, they received responses from 958,919,789 sites. Nginx is reported to be on 146,204,067 of those sites surveyed or 15.25% of the overall marketshare. And these aren't small sites either, they're sites like Netflix, Box and Dropbox, WordPress, Tumblr, Pinterest and Instagram. If you consider only the top 1,000 websites as ranked by Alexa, Nginx surpasses Microsoft and Apache servers at 38%. Canonical has also decided to support Nginx as a component of its Ubuntu Server Linux distribution. In January 2014, Sam Soltano writing for W3Techs said:

In the last 2 months, every 15.5 seconds one of the top 10 million websites started using Nginx.

The survey didn't distinguish between the Nginx community server and the paid Nginx Plus.

W3Techs Data, February 2014
W3Techs Data, February 2014
Netcraft Data, February 2014
Netcraft Data, February 2014
 

Nginx and WordPress

A typical WordPress powered site is built upon the very popular LAMP stack (Linux + Apache + MySQL + PHP). Much of the WordPress development effort has gone into optimizing code for the LAMP stack. But WordPress can work on other web servers besides Apache. I've run a WordPress development environment under Windows and most recently I enjoyed the challenge of setting up a WordPress multisite site installation on an Ubuntu powered VPS. It's a development site, but it is wickedly fast!

EasyEngine for Nginx

EasyEngine (ee) is a linux shell-script to manage your WordPress-Nginx websites on Ubuntu and Debian servers. rtCamp is a web solutions provider company, prominently working on open-source projects.

I'm not going to walk you through installing EasyEngine on your server. There's plenty of information on the EasyEngine site for that. Installing a WordPress instance with EasyEngine is as simple as you can imagine. For example, to install a WordPress site with no caching, the command is ee site create example.com --wp. The various options for installing WordPress system include:

 Single SiteMultisite w/ SubdirMultisite w/ Subdom
NO Cache–wp–wpsubdir–wpsubdom
WP Super Cache–wpsc–wpsubdir –wpsc–wpsubdom –wpsc
W3 Total Cache–w3tc–wpsubdir –w3tc–wpsubdom –w3tc
Nginx cache–wpfc–wpsubdir –wpfc–wpsubdom –wpfc

When you run the EasyEngine install, it does everything for you. It installs Nginx, MySQL, PHP and WordPress in whatever configuration you've chosen. The particular development server upon which I've been working was originally installed by someone else who selected a single WordPress installation instead of the multisite that was requested. Instead of blowing away the site and starting over, I decided to modify the current site to make it multisite. There are plenty of instructions on the EasyEngine site to make this happen, but there is one thing that they apparently overlooked. Their multisite subdirectory configuration files refer to the blogs.dir directory. Blogs.dir was used in WordPress multisite until version 3.5. If you build a new multisite installation with WordPress 3.5 or higher, the blogs.dir directory won't exist so the Nginx configuration files will be wrong. You would have to replace blogs.dir with uploads/sites to make the config work. Other than that little gotcha, Nginx is definitely the way to go.

  • 2shares
  • Facebook0
  • Twitter0
  • Pinterest0
  • LinkedIn2
  • Print
  • SMS0

About Victor M. Font Jr.

Victor M. Font Jr. is an award winning author, entrepreneur, and Senior IT Executive. A Founding Board Member of the North Carolina Executive Roundtable, he has served on the Board of Advisors, of the North Carolina Technology Association, the International Institute of Business Analysis, Association of Information Technology Professionals, Toastmasters International, and the North Carolina Commission for Mental Health, Developmental Disabilities, and Substance Abuse Services. He is author of several books including The Ultimate Guide to the SDLC and Winning With WordPress Basics, and Cybersecurity.

Reader Interactions

VictorFont.com runs on the Genesis Framework

Genesis FrameworkThe Genesis Framework empowers you to quickly and easily build incredible websites with WordPress. Genesis provides the secure and search-engine-optimized foundation that takes WordPress to places you never thought it could go.

Check out the incredible features and the selection of designs. It's that simple—start using Genesis now!

Click here to download The Genesis Guide for Absolute Beginners (PDF - 1.4 MB)

Leave a Reply Cancel reply

Your email address and website will not be published. Required fields are marked *
Posting a comment means that you agree with and accept our Comment & Product Review Policy

Call: +1 919-604-5828

Send us an E-mail

Accessibility Statement | Affiliate Marketing Disclosure | Capability Statement

Cookie Policy | Comment & Product Review Policy | Privacy Policy | Site Map | Terms & Conditions

Copyright © 2003–2021 Victor M. Font Jr.

Return to top of page
Cover image: 5 Things You Can Fix On Your Website In The Next Week To Increase Engagement

Attract New Customers Automatically for Free!

  • Learn how to use the Internet to attract REAL clients
  • Avoid the 3 big mistakes EVERYBODY makes
  • Put this system on AUTOPILOT with the tools the Pros use!

GET YOUR COPY!

This little ebook has helped hundreds of business professionals get real results.
Now it's your turn!

ebook lead capture
Privacy Policy
{"cookieName":"wBounce","isAggressive":false,"isSitewide":true,"hesitation":"","openAnimation":false,"exitAnimation":false,"timer":"","sensitivity":"","cookieExpire":"7","cookieDomain":"","autoFire":"","isAnalyticsEnabled":false}
We only use analytical cookies on our website that allow us to recognize and count the number of visitors, but they do not identify you individually. They help us to improve the way our website works. By clicking Accept you, agree to cookies being used in accordance with our Cookie Policy.OkNoCookie policy