wildcard subdomains in the ruby on rails ubuntu droplet?

Posted April 29, 2014 2.7k views
My rails app essentially assigns a subdomain to each of the projects in it. I can't seem to get things configured correctly to allow for the wildcard subdomains to be processed by the app. I have the wildcard cname set in my DNS settings, but I can't figure out what to do with nginx or unicorn.

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Submit an Answer
1 answer
oh nevermind. apparently I didn't wait long enough or something for things to take effect.

very cool. all it requires is the wild card cname entry