I know that there are many examples of how to set the http://domainname.com/username URL. But how to set http://username.domainname.com url in django?
Thinking of a way to have a unique URL for each user like http://username.domain.com , for example http://garry.posterous.com/
thanks
As a first step, you need to configure a DNS server to work with a wildcard domain; it is completely outside of django.
(.. dig garry.posterous.com ), HTTP_HOST django.
dig garry.posterous.com
. Django: http://www.rossp.org/blog/2007/apr/28/using-subdomains-django/
Source: https://habr.com/ru/post/1714029/More articles:What is possible with Silverlight? - c #Undefined recurring events on the django calendar - djangoIE 7 transparent PNG problem - internet explorerPartCover.NET Integration with NAnt - nantMFC Menu Flag Behavior - visual-c ++Massive data processing using JavaScript chart library - javascriptСтранный стандарт для файлов FAT32> 4gb - filesystemsKeep original value in DataBase when NULL passed to stored procedure - sqlMultiple WebClients, weclints stop working over time - c #Why does my Visual Studio 2008 close every time I open a .xaml file? - visual-studioAll Articles