<div dir="ltr">Yeah, take a look at the apache logs /var/logs/apache2/error.log. It'll give you more info</div><div class="gmail_extra"><br><div class="gmail_quote">2017-08-19 10:55 GMT-04:00 Mehdi Ahmadi <span dir="ltr"><<a href="mailto:mehmadi@gmail.com" target="_blank">mehmadi@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"><div class="gmail_default"><font face="tahoma, sans-serif">Thanks Simone. I just run (sudo </font><span style="font-family:arial,sans-serif;font-size:12.8px">geonode-updateip XXXXXX; replacing XXXXX with hostname) and restarted apache, but still the same problem shows up.</span></div><div class="gmail_default"><span style="font-family:arial,sans-serif;font-size:12.8px"><br></span></div><div class="gmail_default"><span style="font-family:arial,sans-serif;font-size:12.8px">It seems that the command updates geoserver layers and adds the <hostname> to the allowed hosts. I already did this local_settings.py file. I can confirm that the </span><span style="font-size:12.8px">ALLOWED_HOSTS in /etc/geonode and my_geonode (for customization) contains both my IP and Hostname.</span></div><div class="gmail_default"><span style="font-size:12.8px"><br></span></div><div class="gmail_default"><span style="font-size:12.8px">Any other advice?</span></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Sat, Aug 19, 2017 at 7:06 PM, Simone Dalmasso <span dir="ltr"><<a href="mailto:simone.dalmasso@gmail.com" target="_blank">simone.dalmasso@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi, if you change the hostname then you have to run "geonode updateip XXXXXX", this is because of security checks in django.<div><br></div><div>Hope this helps</div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_4539613920200984509h5">2017-08-19 9:32 GMT-04:00 Mehdi Ahmadi <span dir="ltr"><<a href="mailto:mehmadi@gmail.com" target="_blank">mehmadi@gmail.com</a>></span>:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_4539613920200984509h5"><div dir="ltr"><div class="gmail_default" style="font-family:tahoma,sans-serif"><p style="box-sizing:border-box;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px;margin-top:0px">I have successfully installed geonode on a remote server made some customization. Now, it loads with IP address with no problem; however, I get the following apache error when I try to load the website using URL/host name. Strange enough, geoserver works fine when I try both /geoserver and /geoserver. Pinging the host name shows my ip address and my nameservers seem to be set appropriately.</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">Do you guys have any idea what is the likely reason for this problem?</p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px"><br></p><p style="box-sizing:border-box;margin-top:0px;margin-bottom:16px;color:rgb(36,41,46);font-family:-apple-system,system-ui,"Segoe UI",Helvetica,Arial,sans-serif,"Apple Color Emoji","Segoe UI Emoji","Segoe UI Symbol";font-size:14px">Error message:</p><h1 style="color:rgb(0,0,0);font-family:Times">Internal Server Error</h1><p style="color:rgb(0,0,0);font-family:Times;font-size:medium">The server encountered an internal error or misconfiguration and was unable to complete your request.</p><p style="color:rgb(0,0,0);font-family:Times;font-size:medium">Please contact the server administrator at webmaster@localhost to inform them of the time this error occurred, and the actions you performed just before this error.</p><p style="color:rgb(0,0,0);font-family:Times;font-size:medium">More information about this error may be available in the server error log.</p><hr style="color:rgb(0,0,0);font-family:Times;font-size:medium"><address style="color:rgb(0,0,0);font-family:Times;font-size:medium">Apache/2.4.18 (Ubuntu) Server at <a href="http://ulsdi.ir" target="_blank">ulsdi.ir</a> Port 80</address></div>
</div>
<br></div></div>______________________________<wbr>_________________<br>
geonode-users mailing list<br>
<a href="mailto:geonode-users@lists.osgeo.org" target="_blank">geonode-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/geonode-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailma<wbr>n/listinfo/geonode-users</a><br>
<br></blockquote></div><span class="m_4539613920200984509HOEnZb"><font color="#888888"><br><br clear="all"><span class="HOEnZb"><font color="#888888"><div><br></div>-- <br><div class="m_4539613920200984509m_472130323418815375gmail_signature" data-smartmail="gmail_signature">Simone </div>
</font></span></font></span></div><span class="HOEnZb"><font color="#888888">
</font></span></blockquote></div><span class="HOEnZb"><font color="#888888"><br><br clear="all"><div><br></div>-- <br><div class="m_4539613920200984509gmail_signature" data-smartmail="gmail_signature">Thanks,<br>Mehdi</div>
</font></span></div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Simone </div>
</div>