Reputation: 14
hello i develop django tenant app
in localhost when i request to ebsalar.localhost:8000 every think is ok
but when upload on server and use curl to check i got
Could not resolve host: ebsalar.localhost
note: /etc/hosts same ...
need run the same in server and local
Upvotes: 0
Views: 49
Reputation: 14
update: i found answer. just add tenant.localhost to /etc/hosts
like this:
127.0.0.1 localhost
127.0.0.1 id-440573
127.0.0.1 ebsalar.localhost # answer
and save
Upvotes: -1