Jon Moss

Joined

70 Experience
0 Lessons Completed
0 Questions Solved

Activity

Posted in Subdomains

Hi Chris! Any update on the status of this?

Posted in Subdomains

Neat, thanks Chris! It'd also be super helpful if you showed how to do it a) from scratch and b) shared database

Posted in Subdomains

Let's say I have a scaffold called 'blogs', and blogs have an attribute called 'subdomain'. I want to have each blog be hosted at a subdomain; let's say I have a blog with a subdomain of 'gorails', the blog would be hosted at gorails.blog.com (blog.com is the root). As well, gorails.blog.com would take you to blogs#show.

I've tried many different solutions to have this work, but none seem to work with Rails 4. Help?

logo Created with Sketch.

Ruby on Rails tutorials, guides, and screencasts for web developers learning Ruby, Rails, Javascript, Turbolinks, Stimulus.js, Vue.js, and more. Icons by Icons8

© 2020 GoRails, LLC. All rights reserved.