How do i Implement multiple subdomain on my website

What are the best practices, when you would like to split your website into multiple subdomains.

 
On which level should one do it? I see here two solutions:
1. On the reverse proxy level, here you need to start for each subdomain a separate web server
2. On the django level. Here one probably would use either django subdomains or django hosts add-ons
 
As for now, I'm using the second solution, but sometimes I face problems with reversing urls, etc.
What is the best option in your opinion?

Django Replies 0 Views 65 Users 0

Suggested Topics

Django Updated on April 1, 2020, 9:12 p.m. Replies Views 55

Django Updated on April 6, 2020, 12:50 a.m. Replies Views 42

Django Updated on April 7, 2020, 9:54 p.m. Replies Views 73

Django Updated on April 13, 2020, 11:35 a.m. Replies Views 138