Learning to build a SAAS application


#1

I am running into issue around subdomain. In my application (rails) I’ve trying to access subdomain based on localhost. I’m running into issues when running application in cloud9.

I was looking to see if you have run or heard of this issue and have any solutions. From what i can see it’s storing the domain and trying to load, but it does not load as [my subdomain].[Application Name].c9users.io it’s coming up as [my subdomain].c9users.io.

I’m trying to figure out if subdomain are supported from a testing point of view in environment.


#2

Try using <subdomain>.lvh.me:8080 to access your application on that subdomain. If that doesn’t work then it would be better if you can share some of the code in your routes.rb file.