<html><head><meta http-equiv="content-type" content="text/html; charset=utf-8"></head><body dir="auto"><div></div><div>Hi mehdi,</div><div><br></div><div><blockquote type="cite"><font color="#000000"><span style="background-color: rgba(255, 255, 255, 0);">URL/host name. Strange enough, geoserver works fine when I try both</span></font></blockquote><br></div><div>this does not sound strange to me. Geoserver is Server by Tomcat . Other Code via a Webserver like Apache ... have you checked logfiles for more detailled informations?</div><div><br></div><div>Cheers, toni </div><div><br>Am 19.08.2017 um 21:00 schrieb <a href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a>:<br><br></div><blockquote type="cite"><div><span>Send geonode-users mailing list submissions to</span><br><span> <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a></span><br><span></span><br><span>To subscribe or unsubscribe via the World Wide Web, visit</span><br><span> <a href="https://lists.osgeo.org/mailman/listinfo/geonode-users">https://lists.osgeo.org/mailman/listinfo/geonode-users</a></span><br><span>or, via email, send a message with subject or body 'help' to</span><br><span> <a href="mailto:geonode-users-request@lists.osgeo.org">geonode-users-request@lists.osgeo.org</a></span><br><span></span><br><span>You can reach the person managing the list at</span><br><span> <a href="mailto:geonode-users-owner@lists.osgeo.org">geonode-users-owner@lists.osgeo.org</a></span><br><span></span><br><span>When replying, please edit your Subject line so it is more specific</span><br><span>than "Re: Contents of geonode-users digest..."</span><br><span></span><br><span></span><br><span>Today's Topics:</span><br><span></span><br><span> 1. geonode loads with IP not with URL/domain name (Mehdi Ahmadi)</span><br><span> 2. Re: geonode loads with IP not with URL/domain name</span><br><span> (Simone Dalmasso)</span><br><span> 3. Re: geonode loads with IP not with URL/domain name</span><br><span> (Simone Dalmasso)</span><br><span></span><br><span></span><br><span>----------------------------------------------------------------------</span><br><span></span><br><span>Message: 1</span><br><span>Date: Sat, 19 Aug 2017 18:02:52 +0430</span><br><span>From: Mehdi Ahmadi <<a href="mailto:mehmadi@gmail.com">mehmadi@gmail.com</a>></span><br><span>To: <a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a></span><br><span>Subject: [GeoNode-users] geonode loads with IP not with URL/domain</span><br><span> name</span><br><span>Message-ID:</span><br><span> <<a href="mailto:CA+ueiJ8egs-YVhTBpCvD3sLspuB2kaHZWgd96J1dnk1nj6SCEg@mail.gmail.com">CA+ueiJ8egs-YVhTBpCvD3sLspuB2kaHZWgd96J1dnk1nj6SCEg@mail.gmail.com</a>></span><br><span>Content-Type: text/plain; charset="utf-8"</span><br><span></span><br><span>I have successfully installed geonode on a remote server made some</span><br><span>customization. Now, it loads with IP address with no problem; however, I</span><br><span>get the following apache error when I try to load the website using</span><br><span>URL/host name. Strange enough, geoserver works fine when I try both</span><br><span>/geoserver and /geoserver. Pinging the host name shows my ip address and my</span><br><span>nameservers seem to be set appropriately.</span><br><span></span><br><span>Do you guys have any idea what is the likely reason for this problem?</span><br><span></span><br><span></span><br><span>Error message:</span><br><span>Internal Server Error</span><br><span></span><br><span>The server encountered an internal error or misconfiguration and was unable</span><br><span>to complete your request.</span><br><span></span><br><span>Please contact the server administrator at webmaster@localhost to inform</span><br><span>them of the time this error occurred, and the actions you performed just</span><br><span>before this error.</span><br><span></span><br><span>More information about this error may be available in the server error log.</span><br><span>------------------------------</span><br><span>Apache/2.4.18 (Ubuntu) Server at ulsdi.ir Port 80</span><br><span>-------------- next part --------------</span><br><span>An HTML attachment was scrubbed...</span><br><span>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/e7ebefc2/attachment-0001.html">http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/e7ebefc2/attachment-0001.html</a>></span><br><span></span><br><span>------------------------------</span><br><span></span><br><span>Message: 2</span><br><span>Date: Sat, 19 Aug 2017 10:36:10 -0400</span><br><span>From: Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>></span><br><span>To: Mehdi Ahmadi <<a href="mailto:mehmadi@gmail.com">mehmadi@gmail.com</a>></span><br><span>Cc: "<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>" <<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>></span><br><span>Subject: Re: [GeoNode-users] geonode loads with IP not with URL/domain</span><br><span> name</span><br><span>Message-ID:</span><br><span> <<a href="mailto:CAAHAC+ej9cc7_KtdoKCsoihV36t8ra4ddviJ=oo2aH=_tsdcMQ@mail.gmail.com">CAAHAC+ej9cc7_KtdoKCsoihV36t8ra4ddviJ=oo2aH=_tsdcMQ@mail.gmail.com</a>></span><br><span>Content-Type: text/plain; charset="utf-8"</span><br><span></span><br><span>Hi, if you change the hostname then you have to run "geonode updateip</span><br><span>XXXXXX", this is because of security checks in django.</span><br><span></span><br><span>Hope this helps</span><br><span></span><br><span>2017-08-19 9:32 GMT-04:00 Mehdi Ahmadi <<a href="mailto:mehmadi@gmail.com">mehmadi@gmail.com</a>>:</span><br><span></span><br><blockquote type="cite"><span>I have successfully installed geonode on a remote server made some</span><br></blockquote><blockquote type="cite"><span>customization. Now, it loads with IP address with no problem; however, I</span><br></blockquote><blockquote type="cite"><span>get the following apache error when I try to load the website using</span><br></blockquote><blockquote type="cite"><span>URL/host name. Strange enough, geoserver works fine when I try both</span><br></blockquote><blockquote type="cite"><span>/geoserver and /geoserver. Pinging the host name shows my ip address and my</span><br></blockquote><blockquote type="cite"><span>nameservers seem to be set appropriately.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Do you guys have any idea what is the likely reason for this problem?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Error message:</span><br></blockquote><blockquote type="cite"><span>Internal Server Error</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>The server encountered an internal error or misconfiguration and was</span><br></blockquote><blockquote type="cite"><span>unable to complete your request.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Please contact the server administrator at webmaster@localhost to inform</span><br></blockquote><blockquote type="cite"><span>them of the time this error occurred, and the actions you performed just</span><br></blockquote><blockquote type="cite"><span>before this error.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>More information about this error may be available in the server error log.</span><br></blockquote><blockquote type="cite"><span>------------------------------</span><br></blockquote><blockquote type="cite"><span>Apache/2.4.18 (Ubuntu) Server at ulsdi.ir Port 80</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>_______________________________________________</span><br></blockquote><blockquote type="cite"><span>geonode-users mailing list</span><br></blockquote><blockquote type="cite"><span><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a></span><br></blockquote><blockquote type="cite"><span><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users">https://lists.osgeo.org/mailman/listinfo/geonode-users</a></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><span></span><br><span>-- </span><br><span>Simone</span><br><span>-------------- next part --------------</span><br><span>An HTML attachment was scrubbed...</span><br><span>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/f00a0267/attachment-0001.html">http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/f00a0267/attachment-0001.html</a>></span><br><span></span><br><span>------------------------------</span><br><span></span><br><span>Message: 3</span><br><span>Date: Sat, 19 Aug 2017 10:56:31 -0400</span><br><span>From: Simone Dalmasso <<a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>></span><br><span>To: Mehdi Ahmadi <<a href="mailto:mehmadi@gmail.com">mehmadi@gmail.com</a>>, "<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>"</span><br><span> <<a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a>></span><br><span>Subject: Re: [GeoNode-users] geonode loads with IP not with URL/domain</span><br><span> name</span><br><span>Message-ID:</span><br><span> <<a href="mailto:CAAHAC+f4SKaA-wuk6=4xvq9j6x6MY3g=H2apRiVfYZt+soUr6g@mail.gmail.com">CAAHAC+f4SKaA-wuk6=4xvq9j6x6MY3g=H2apRiVfYZt+soUr6g@mail.gmail.com</a>></span><br><span>Content-Type: text/plain; charset="utf-8"</span><br><span></span><br><span>Yeah, take a look at the apache logs /var/logs/apache2/error.log. It'll</span><br><span>give you more info</span><br><span></span><br><span>2017-08-19 10:55 GMT-04:00 Mehdi Ahmadi <<a href="mailto:mehmadi@gmail.com">mehmadi@gmail.com</a>>:</span><br><span></span><br><blockquote type="cite"><span>Thanks Simone. I just run (sudo geonode-updateip XXXXXX; replacing XXXXX</span><br></blockquote><blockquote type="cite"><span>with hostname) and restarted apache, but still the same problem shows up.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>It seems that the command updates geoserver layers and adds the <hostname></span><br></blockquote><blockquote type="cite"><span>to the allowed hosts. I already did this local_settings.py file. I can</span><br></blockquote><blockquote type="cite"><span>confirm that the ALLOWED_HOSTS in /etc/geonode and my_geonode (for</span><br></blockquote><blockquote type="cite"><span>customization) contains both my IP and Hostname.</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>Any other advice?</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>On Sat, Aug 19, 2017 at 7:06 PM, Simone Dalmasso <</span><br></blockquote><blockquote type="cite"><span><a href="mailto:simone.dalmasso@gmail.com">simone.dalmasso@gmail.com</a>> wrote:</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><blockquote type="cite"><span>Hi, if you change the hostname then you have to run "geonode updateip</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>XXXXXX", this is because of security checks in django.</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Hope this helps</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>2017-08-19 9:32 GMT-04:00 Mehdi Ahmadi <<a href="mailto:mehmadi@gmail.com">mehmadi@gmail.com</a>>:</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>I have successfully installed geonode on a remote server made some</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>customization. Now, it loads with IP address with no problem; however, I</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>get the following apache error when I try to load the website using</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>URL/host name. Strange enough, geoserver works fine when I try both</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>/geoserver and /geoserver. Pinging the host name shows my ip address and my</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>nameservers seem to be set appropriately.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Do you guys have any idea what is the likely reason for this problem?</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Error message:</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Internal Server Error</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>The server encountered an internal error or misconfiguration and was</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>unable to complete your request.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Please contact the server administrator at webmaster@localhost to</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>inform them of the time this error occurred, and the actions you performed</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>just before this error.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>More information about this error may be available in the server error</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>log.</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>------------------------------</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>Apache/2.4.18 (Ubuntu) Server at ulsdi.ir Port 80</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>_______________________________________________</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span>geonode-users mailing list</span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users">https://lists.osgeo.org/mailman/listinfo/geonode-users</a></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>--</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span>Simone</span><br></blockquote></blockquote><blockquote type="cite"><blockquote type="cite"><span></span><br></blockquote></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><blockquote type="cite"><span>--</span><br></blockquote><blockquote type="cite"><span>Thanks,</span><br></blockquote><blockquote type="cite"><span>Mehdi</span><br></blockquote><blockquote type="cite"><span></span><br></blockquote><span></span><br><span></span><br><span></span><br><span>-- </span><br><span>Simone</span><br><span>-------------- next part --------------</span><br><span>An HTML attachment was scrubbed...</span><br><span>URL: <<a href="http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/8987d8e1/attachment-0001.html">http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/8987d8e1/attachment-0001.html</a>></span><br><span></span><br><span>------------------------------</span><br><span></span><br><span>Subject: Digest Footer</span><br><span></span><br><span>_______________________________________________</span><br><span>geonode-users mailing list</span><br><span><a href="mailto:geonode-users@lists.osgeo.org">geonode-users@lists.osgeo.org</a></span><br><span><a href="https://lists.osgeo.org/mailman/listinfo/geonode-users">https://lists.osgeo.org/mailman/listinfo/geonode-users</a></span><br><span></span><br><span></span><br><span>------------------------------</span><br><span></span><br><span>End of geonode-users Digest, Vol 31, Issue 25</span><br><span>*********************************************</span><br></div></blockquote></body></html>