Ruby 4.0 リファレンスマニュアル

instance method WEBrick::HTTPRequest#server_name

server_name -> StringRuby 1.9.3 から[permalink][rdoc][edit]

サーバの名前を返します。