hostname

Returns the hyperlink's URL's host.

Can be set, to change the URL's host.

MDN Reference