Django-tenants-schema and django-tenant

185 views
Skip to first unread message

classudeh

unread,
Jun 21, 2021, 4:38:19 PM6/21/21
to django...@googlegroups.com
Hello friends,
Am having a big challenge hosting django-tenant-schemas I currently have one hosted in heroku but does not route the subdomain created for example I cant access sub.mydomain.com but mydomain.com works have tried wildcard on the subsomain through the domain hosting platform but no result yet I really want this to work in live production as all test has been done in dev mode and work fine using sub.loclhost:8000 no.all code are fine when deployed to heroku not jus get the subsomain.please is there any hosting platform that allow such multi-tenant app to work as expected.
Await your swift response.
Thanks



Sent from my Galaxy

clas...@gmail.com

unread,
Jun 24, 2021, 2:41:08 AM6/24/21
to Django users
has no one use django-tenant on heroku?

Alejandro hurtado chacñama

unread,
Nov 14, 2022, 9:43:27 AM11/14/22
to Django users
1:in your nginx configuration you should add something like: 
server_name *.mydomain.com mydomain.com IP-server;

2: in my case at the dns level I also add as class A, all the records of the subdomain. You have to do this where your domain is, I don't know if it can be configured in heroku

David Emanuel Sandoval

unread,
Nov 14, 2022, 10:36:44 AM11/14/22
to django...@googlegroups.com
I work on a project using django tenants, so i know it works on heroku. I just dont know how it was configured in the "dns" part.

--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/c61930ec-825b-44bf-a9f0-ef31be4ddf62n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages