[Django]-Quick question: how to set *.domainname.com url in django

3👍

As the first step, you need to arrange your DNS server to serve the wildcard domain; this is completely outside Django.

When you managed to do that (i.e. dig garry.posterous.com succeeds), then simply check for the HTTP_HOST request variable in the django view routines.

0👍

Leave a comment