Document Object
The domain property returns the domain name of the server that loaded the current document.
![]()
The domain property is supported in all major browsers.
Return the domain name of the server that loaded the document:
Document Object
Your message has been sent to W3Schools.