ROR in which file is configured on the host?

With hosting was downloaded projects written in Rubu on Rails. Run in LAN, I get an error 500. In the logs the error 501 and you can see that the appeal goes through name operating address to an external host. In what file to replace to localhost:3000? Or how to replace the starter address to the default localhost:3000 on saitpupkina.com?
July 2nd 19 at 13:10
1 answer
July 2nd 19 at 13:12
in hosts add
127.0.0.1 saitpupkina.com
and zduyte on saitpupkina.com:3000

p.s: bind does not bind to a domain name

Find more questions by tags Ruby on Rails