The title should be pretty clear, but consider this scenario:
- User bobbyflay registers an account on my SAAS app
- I would like for the URL bobbyflay.myapp.com to direct him to a customer-specifi login page.
I’m developing on CodeIgniter 2.0.2 for what it’s worth. Is there a better way than modifying the routes.php config file every time a new account is created?
This is exactly the article you’re looking for.
Note it is written for an older version of CI but the methodology should be intact.