Skip to main content
Version: 4.3.0

URL.hostname

The hostname property of the URL interface is a string containing the domain name of the URL.

Value​

A string.