How to use Django to get the name for the host server?
I need the name of the hosting server instead of the client name?
If you need to get http(s)://hostname/ you can use the following:
http(s)://hostname/
request.build_absolute_uri('/')
All useful methods are listed here