Nginx

Nginx and WordPress: Redirecting www domain to non-www using server block

Nginx logoThis is a quick tip post to show you how to redirect the www version of a domain to it's non-www equivalent using Niginx.

The reasons for doing this are quite technically dense, so a knowledge of web hosting and SEO might be useful. Basically, having the same site available at both www.yoursite.com and yoursite.com means that there are two identical copies of your site on the web.

Setting up a virtual host in Nginx

Nginx logoIf you've been following this tutorial series for Nginx on Media Temple's (ve) server, you'll know that we've completed three steps - installing Nginx, MySQL and PHP-FPM for a fully functioning web server. 

How to install PHP-FPM for Nginx on an Ubuntu 10.04 server

Nginx logoThis is the third part in my series of articles looking at building an Nginx server on the Media Temple VE service. We currently have a working Nginx installation and a domain name pointed at the server, and in the last step, we installed MySQL and created a first database to store our CMS data.

Installing MySQL for Nginx

MySQL logoFollowing on from our last step in setting up an Nginx server, we need a database to store our CMS data in. What's a good database to install on an Ubuntu server? Oh yeah, MySQL!

MySQL is a doddle to install - you simply connect via your SSH client and run the following command:

Installing Nginx on a Media Temple VE Server

Nginx logoI've become obsessed in the last few weeks with improving web performance. The more I've looked into optimization techniques, the more Nginx - pronounced "Engine X" - keeps coming up. It's an open source web server that's steadily gaining a name as a companion technology/replacement for Apache. Nginx can be used in two ways

Subscribe to RSS - Nginx