The domain property initially contains the hostname of the server from which the document was loaded.
<html> <script> <!-- document.write("The domain: ",document.domain); --> </script> </html>