Wednesday, June 3, 2020

Re: django-tenants domain issue

You just need to add those to your hosts file locally on your computer.

If you are using Mac:

If you are using Linux:

If you are using Windows:


The hosts d.dumba.local and td.test.local both need to point to 127.0.0.1 and you are set.

Regards,

Andréas


Den ons 3 juni 2020 kl 02:56 skrev DumbaClassics <dumbaclassics@gmail.com>:
Hello Family

I have been following a set up documentation for django-tenants. I did all the set-up to even create a public domain and two tenant domains. For allowed hosts I put ["*"] , though not safe as per clinical research data its convinient for my localhost Test. I am having a challenge navigating to all my domains. The usual http://127.0.0.1: 8000/ gives me No tenant for hostname "127.0.0.1" which is of course reasonable...say my domain name for public is d.dumba.local and the tenant one td.test.local what would be the way to navigating to these domains. 

Your cooperation will be appreciated 

Sincerly D.C

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/aafcef35-db62-4e0d-a744-0e94609dc9ab%40googlegroups.com.

--
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+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAK4qSCd0ZDrim_L66-Yq%3DPyk%2BQ2K0i2s2rEfs1Gf4L%2BArXAukQ%40mail.gmail.com.

No comments:

Post a Comment