Ruby on Rails
Monday, February 19, 2018
My subdomains route properly on localhost to domain with 2 levels in /etc/hosts but in production subdomains fail to resolve to my servers ip addresss
-- I read that a possible fix would be to change the server name from www.mydomain.com to *.mydomain.com in nginx.conf and add an A record (dns) * I did both but then subdomains route to root path
You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group.
To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-talk+unsubscribe@googlegroups.com.
To post to this group, send email to rubyonrails-talk@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/rubyonrails-talk/51981135-4d94-411f-9bbc-d3290dcae320%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment