<div dir="ltr">Hi Miguel,<div><br></div><div>have you tried by restarting the web server? Maybe that part was skipped in the updateip command</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-06-12 23:42 GMT+02:00 Miguel Torres <span dir="ltr"><<a href="mailto:migtorres@gmail.com" target="_blank">migtorres@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><span style="font-size:12.8px">Hi!</span><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have changed the ip address of the server with our <span>Geonode</span> installation and I have ran <span>geonode</span>-updateip to point to the new one.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">When I try to access it shows Bad Request (400). In the logs it shows:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Invalid HTTP_HOST header: 'MY-IP'.You may need to add u'MY-IP' to ALLOWED_HOSTS<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">I have checked in local_settings.py and I have:</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">ALLOWED_HOSTS= [ 'MY-IP', 'localhost', ]<br></div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">So it seems to be ok.</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Do you have any idea of what should be happening?</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Best,</div><div style="font-size:12.8px"><br></div><div style="font-size:12.8px">Miguel Torres</div></div>
<br>_______________________________________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a><br>
<a href="http://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">http://lists.osgeo.org/mailman/listinfo/geonode-users</a><br>
<br></blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>