Tom Dallimore

Recent Posts

Pages

self_v4

Tom Dallimore

Ruby Developer

How to Run with Rails: Setup subdomains in your routes

How to Run with Rails: Setup subdomains in your routes

These days the use of subdomains are commonplace amongst businesses, they can be used to divide up public and private sections of an application or simply define an API structure. Therefore, when creating routes for a specific subdomain in your application, you need to ensure these routes are only accessible when hitting the predefined subdomain. […]