comfy/comfy-blog

Point domain to blog?

Closed this issue · 1 comments

Hey, not sure if there's a way to do this or not -- can I point another domain to a comfy blog? For example, if my Rails app is on foo.com , can I point bar.com to one of the blogs created with this gem? Or do I have to create a CMS site for bar.com and put the blog at bar.com/blog ?

Thanks!

GBH commented

You need to have a blog associated with a site. In terms of routing you need to get creative. You can have site and blog defined with :path => '/' but I'm not sure how well that's going to work. If all fails just create your own set of routes to the blog controller.