Adding the domain name to the document