One of the main functions of a SaaS-based application is to provide the users with a separate area completely owned by them. This area is completely abstracted from others and is visible only to the owners and users of the organization. In this task, we will create subdomains and associate them with an organization. We will also explore the definition of a concern in detail and how can it be used to create reusable code components. We will use Tim Pope's solution (http://tbaggery.com/2010/03/04/smack-a-ho-st.html) of extending a domain name called local virtual host (lvh.me) in order to make subdomains work on our localhost.
Let us create subdomains for our application users:
- We will first save the domain as a ...