def domain(tld_length = 1)
      host.split(Merb::Const::DOT).last(1 + tld_length).join(Merb::Const::DOT).sub(/:\d+$/,'')
    end
def domain(tld_length = 1)
      host.split(Merb::Const::DOT).last(1 + tld_length).join(Merb::Const::DOT).sub(/:\d+$/,'')
    end
==== Parameters
 tld_length<Fixnum>::
   Number of domains levels to inlclude in the top level domain. Defaults
   to 1.

 ==== Returns
 String:: The full domain name without the port number.

 :api: public