How to get hostname of my site?

Rather a stupid question, but I really can’t find the answer. Does
anybody know?

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs