There was a Ruby on Rails (Unicorn) app running on domain root. Client wanted to have a WordPress blog on
domain.com/blog. I had an idea what I should do to get this working. But it was still a challenge for me since I was a total noob to Ruby on Rails. But after few hours of searching around and seeking experts on the subject, I come up with proper rewrite rules for getting WordPress work with Ruby on Rails on an Nginx server.
301 redirect is a way to move your web pages around without losing SEO or showing user an error page. It’s very important when it comes to e-commerce as you can miss a sale due to 404 page. I’m going to show you how to set up 301 (Permanent) redirect on Shopify pages. Continue reading
When you first create an Amazon EC2 instance, you’re offered to download a key file which you can use to get access to your instance via SSH. Since the password logins are disabled by default on all EC2 instances, key pair is the only way you can authorize yourself to the instance. This post will show you how you can use these key pairs with PuTTY to login to your EC2 instance. Continue reading
Setting up Nginx with PHP took some serious effort few months ago. It’s much easier now. It shouldn’t take 10 minutes to set up fully functional webserver with Nginx and PHP5. This tutorial shows you how to properly setup Nginx server with PHP, MySQL and APC Cache. Continue reading
When you first bought a VPS, first thing you need learn is how to connect to it. SSH is the best way to connect to a Linux VPS. It’s secure and safe. So if you’ve just bought your first VPS and trying to connect, this post will help you with it. Continue reading