Day 14 updates for
- Started work on a dashboard.
- Fixed issues with routing logged in users to dashboard.appbasics.com instead of their own subdomain.
- Got a new domain for all subdomain sites. Everyone signing up will get a.install.so domain ;-)
- Fixed issues with routing logged in users to dashboard.appbasics.com instead of their own subdomain.
- Got a new domain for all subdomain sites. Everyone signing up will get a
Very nice! How is it possible to dynamically create subdomains, can you explain the process a bit?
EK
Author
Point a wildcard A record to my loadbalancer ip, something like *.install.so to 127.0.0.1 so DNS will resolve every subdomain to my loadbalancer. Then I need to make sure Nginx also doesn't kick a fuss about subdomains. by using a wildcard server_name *.install.so
, at this point my rails app will get all requests for each subdomain, so I need to check in my app logic which subdomain a request is for and then return the page/data for that subdomain.
Please sign in to leave a comment.