Skip to content
This repository has been archived by the owner on Apr 20, 2019. It is now read-only.

Django access error #34

Open
shantanuo opened this issue Jan 9, 2017 · 2 comments
Open

Django access error #34

shantanuo opened this issue Jan 9, 2017 · 2 comments

Comments

@shantanuo
Copy link

I have installed everything as per read-me. But I get this error:

web_1 | Invalid HTTP_HOST header: '34.195.94.88:8000'. You may need to add '34.195.94.88' to ALLOWED_HOSTS.

@peterbe
Copy link
Owner

peterbe commented Feb 3, 2017

If you access the site by going to http://34.195.94.88:8000 then you need to edit the .env file so it looks something like this:

ALLOWED_HOSTS=34.195.94.88

@shantanuo
Copy link
Author

Thanks for that tip. It is working now....

http://54.165.233.144:8000/

But How do I use it from here? I did not understand the "usage" section.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants