[GeoNode-users] geonode loads with IP not with URL/domain name

Simone Dalmasso simone.dalmasso at gmail.com
Sat Aug 19 07:56:31 PDT 2017


Yeah, take a look at the apache logs /var/logs/apache2/error.log. It'll
give you more info

2017-08-19 10:55 GMT-04:00 Mehdi Ahmadi <mehmadi at gmail.com>:

> Thanks Simone. I just run (sudo geonode-updateip XXXXXX; replacing XXXXX
> with hostname) and restarted apache, but still the same problem shows up.
>
> 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 ALLOWED_HOSTS in /etc/geonode and my_geonode (for
> customization) contains both my IP and Hostname.
>
> Any other advice?
>
> On Sat, Aug 19, 2017 at 7:06 PM, Simone Dalmasso <
> simone.dalmasso at gmail.com> wrote:
>
>> Hi, if you change the hostname then you have to run "geonode updateip
>> XXXXXX", this is because of security checks in django.
>>
>> Hope this helps
>>
>> 2017-08-19 9:32 GMT-04:00 Mehdi Ahmadi <mehmadi at gmail.com>:
>>
>>> 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.
>>>
>>> Do you guys have any idea what is the likely reason for this problem?
>>>
>>>
>>> Error message:
>>> Internal Server Error
>>>
>>> The server encountered an internal error or misconfiguration and was
>>> unable to complete your request.
>>>
>>> Please contact the server administrator at webmaster at localhost to
>>> inform them of the time this error occurred, and the actions you performed
>>> just before this error.
>>>
>>> More information about this error may be available in the server error
>>> log.
>>> ------------------------------
>>> Apache/2.4.18 (Ubuntu) Server at ulsdi.ir Port 80
>>>
>>> _______________________________________________
>>> geonode-users mailing list
>>> geonode-users at lists.osgeo.org
>>> https://lists.osgeo.org/mailman/listinfo/geonode-users
>>>
>>>
>>
>>
>> --
>> Simone
>>
>
>
>
> --
> Thanks,
> Mehdi
>



-- 
Simone
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geonode-users/attachments/20170819/8987d8e1/attachment.html>


More information about the geonode-users mailing list