Hi, Are you using nginx or apache?
The especially tricky part about this is handling the local-machine case. Collin On Friday, December 5, 2014 6:10:36 AM UTC-5, vijay shanker wrote: > > am writing a e-commerce application where different people can have > stores with urls like this: www.store-one.saas.com, www.store-two.saas.com, > and so on. > > These domains have to be generated automatically when a user signs up for > store. > > I have read somewhere that www.saas.com/store-one can be rewritten as > store-one.saas.com (ofcourse, they din told me how :( ). > > Is it possible and how it can be done, how can i achieve it in production > and with my local machine? > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8a19275e-24eb-4ef7-87c2-85a0479bf3d3%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.