Plugins - Url for domain
Add to favoritesThis plugin modifies the url_for behaviour in the following manner:
urlfor behaviour is the same except when the :subdomain is set. If it's set to a string, the string will be used as a subdomain for the normal domain name. The :tldlength option defines the length of the normal domain. This defaults to 1.
