Blog and Static Pages in Rails 4

One thing you can do is set up a separate blog server (let’s say using wordpress) and point the DNS for blog.example.com to the ip address of your blog server.

Then you can give individual users accounts on the blog, so that they can upload content.

I would suggest using an existing blog engine such as wordpress (there are several others) because out of the box it will include a bunch of stuff like image uploading, tagging, comments, antispam, and SEO optimizations like pretty permalinks. I wouldn’t rebuild that from scratch.

If you want the blog to reside at www.example.com/blog, then there is a bit of a trick to configure the web server to serve up content from two different servers, but that’s certainly not impossible.

Leave a Comment