Thanks much Adam, very helpful.

The AMI worked great and didn't have any issues once I updated.  Only thing 
I would point out is that the AMI doesn't nest the arches and ENV folder in 
a Projects folder as recommended in the installation instructions.  Not 
that big of a deal, just thought I would point it out.  Once again, thanks 
for the help.

Andy 

On Tuesday, November 7, 2017 at 4:26:38 PM UTC-8, Adam Cox wrote:
>
> Hey Andy, great question. ALLOWED_HOSTS is actually a variable that you 
> can define in your settings.py or settings_local.py file. It should be a 
> list, so something like
>
> ALLOWED_HOSTS = ["12.34.56.78","arches4.andygraham.com"]
>
> would be a valid entry. You can also use ["*"] to allow all hosts. Not 
> recommended for production of course, but could get past a the problem in a 
> pinch if you ip or domain is changing a lot...
>
> I am glad to hear you were able to use that AMI. I made it a while ago, so 
> it could probably stand some updates. Let me know if you find any problems 
> with dependencies and such.
>
> Adam
>
> On Nov 7, 2017 4:53 PM, "Andy Graham" <[email protected] <javascript:>> 
> wrote:
>
>> Attempted to install Arch V4 to test out some of the features.  Set up an 
>> instance on AWS, downloaded the Arches 4 community instance that I think 
>> Adam put up there a while ago.  Once that was set up I went through and and 
>> followed the Developer Installation instruction to make sure everything was 
>> up to date and set up correctly.  I then ran the runsever command, went to 
>> the website (public IP:8000) and got an error page that said 
>> "DisallowedHost at /    Invalid HTTP_HOST header: 'xx.xx.xx.xx.:8000'. You 
>> may need to add u'xx.xx.xx.xx' to ALLOWED_HOSTS.", with the xx as my public 
>> IP.  Based on additional information I went to the request.py file in 
>> ENV/lib/python2.7/site-packages/django/http and edited the "allowed_hosts" 
>> on line 102 to include my IP.  Everything worked fine after that but I am 
>> guessing that this isn't standard protocol.  Any suggestions on what I did 
>> wrong and how to fix it so I don't have to add that info when spin up 
>> another instance?  Thanks.
>>
>> Andy
>>
>> -- 
>> -- To post, send email to [email protected] <javascript:>. To 
>> unsubscribe, send email to [email protected] <javascript:>. 
>> For more information, visit 
>> https://groups.google.com/d/forum/archesproject?hl=en
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "Arches Project" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to