Hosting website through ADSL

brirtch

New Member
Joined
Dec 13, 2009
Messages
4
Hi

I have a Netgear DG834GUv5 router on Telkom ADSL and want to host a website on my Ubuntu box. Currently shows the page on http://localhost.

I have tried fiddling around with router settings but I am not having luck when trying to access the website from the outside, e.g. by the routers IP address or DYNDNS.

Any guidance would be much appreciated.

regards

Peter
 

Drake2007

Expert Member
Joined
Oct 23, 2008
Messages
4,413
Port forward (80) on your router to your ubuntu internal network IP address.
Where do you have dyndns running on the router or ubuntu?

edit: you are really peeing into the wind there though, much better option is to get a webhosting company like Texo to put up with the headaches. And it looks more professional to have your own domain name ( not that dyndns *** ), additionally your email on your domain name is all sorted out, also your website will be much quicker than the slow upload speed of your home connection.

From there you can dedicate your ubuntu machine towards web development so no need to throw all that configuring away.
 
Last edited:

brirtch

New Member
Joined
Dec 13, 2009
Messages
4
I am specifically trying to play around with things rather than set up a professional website, so I want to pursue this.

My router doesnt have a specific Port Forwarding setup area, but its meant to be done through a Services menu. I have set up an Allow Any Inbound Service for HTTP on port 80, being forwarded to 10.0.0.5 (my web server).

DynDNS is currently installed on the router, but Im getting the same behaviour using the routers IP address. So I dont think its DynDNS related.

How can I diagnose where the problem lies? My router does not seem to log incoming HTTP requests, despite me having chosen to Log all on this Service.

Any further suggestions on how to pinpoint the problem. Does Telkom block this or should it in theory be allowed?

Regards

Peter
 

Drake2007

Expert Member
Joined
Oct 23, 2008
Messages
4,413
I doubt it's telkom, check your firewall and apache settings on the ubuntu box.
 

Other Pineapple Smurf

Honorary Master
Joined
Jun 21, 2008
Messages
14,593
Check your routers firewall. I ended up having to open up all ports on my old Telkom one. One of the things you need to remember, this screwed me over in the beginning, is that it will only work from an external source.

Many routers are intelligent enough to determine that you are trying to connect to an internal source when working locally. This can be frustrating and also give you mixed results. EXAMPLE: When you type in the dyndns URL you get routed to your routers admin page and not your hosted web page.
 

RSkeens

Expert Member
Joined
Jan 5, 2007
Messages
1,647
What happens when you use the router's DMZ port just for a quick check?
 

sevoii

Member
Joined
Dec 11, 2009
Messages
12
I had the same issue a while back, I just switched my router into bridge mode and all was good :D
 

Bronzed_Skarab

Well-Known Member
Joined
Oct 26, 2009
Messages
116
If you try to access the webserver from WITHIN your LAN via the external IP, you will be directed to the router. Port forwarding only works from outside your LAN.

To test, try a separate internet connection (3G with your phone, say) and then see whether you can access the website you're trying to serve via the router's external IP address or the dyndns address.
 
Top