SyntaxFix
Write A Post
Hire A Developer
Questions
request.get_host() will give you the domain.
request.get_host()