Forum

Cannot load webpage

Daniel
24 February 2016, 17:33
Dear all,
I am trying to host my personal webpage with Hiawatha on a Raspberry Pi and a dyndny-service (dlinkddns.com, which is basically dyndns.com for owners of D-Link hardware). After updating from Hiawatha 9.12 to 10.1 I can no longer reach my page. Inside the LAN (192.168.0.xxx) I can see the webpage, so I assume Hiawatha is working. But as soon as I try to contact it via dlinkddns.com I get a network timeout error from Firefox. I can ping my dlinkddns.com address and it gives me a response with my current IP address. The port 80 is forwarded by my router to the Raspi.
Here's the config file:
# Hiawatha main configuration file

# GENERAL SETTINGS
#
ServerId = www-data
ConnectionsTotal = 1000
ConnectionsPerIP = 25
SystemLogfile = /var/log/hiawatha/system.log
GarbageLogfile = /var/log/hiawatha/garbage.log

# BINDING SETTINGS
#
Binding {
Port = 80
}

# DEFAULT WEBSITE
# It is wise to use your IP address as the hostname of the default website
# and give it a blank webpage. By doing so, automated webscanners won't find
# your possible vulnerable website.
#
Hostname = 127.0.0.1
WebsiteRoot = /var/www/hiawatha
StartFile = index.html
AccessLogfile = /var/log/hiawatha/access.log
ErrorLogfile = /var/log/hiawatha/error.log


# VIRTUAL HOSTS
# Use a VirtualHost section for each website you want to host.
#
VirtualHost {
Hostname = zuberfamilie.dlinkddns.com
WebsiteRoot = /var/www/hiawatha/public
AccessLogfile = /var/www/hiawatha/log/access.log
ErrorLogfile = /var/www/hiawatha/log/error.log
}

What can I do to solve this problem?
Any help would be appreciated.
Thanks in advance,
Daniel
Hugo Leisink
25 February 2016, 01:21
If you can reach Hiawatha via the LAN, it is working fine. I think you have a routing or firewall issue here.
Daniel
25 February 2016, 21:16
Many thanks for your quick response. It might be that my sh****y Technicolor TC7200 that my internet provider forces to use is at fault here.
What I can say is:
The DynDNS service works (ddclient updates it to the correct IP address).
Port 80 is open and forwarded to the Raspberry Pi where Hiawatha runs on.
I do get these entries in system.log: "Timeout while waiting for first request" every time I try to load my homepage.
Daniel
25 February 2016, 21:23
In my LAN I have another Raspberry Pi hosting a fhem server, which can be accessed via port 8083 (https, dyndns). This works flawlessly.
Any hint would be appreciated, since I'm running out of ideas.
Daniel
Daniel
26 February 2016, 11:36
It seems that the problem is fixed. As soon as I have the hiawatha webserver and the fhem webserver switched on, the router gets confused. So yes, this is definitely a router problem here. If anybody reds this: whatever you do, never let a Technocolor TC7200 router into your network.
Cheers,
Daniel
Hugo Leisink
26 February 2016, 17:02
Ok. Good luck with that evil router.
This topic has been closed.