Please note the new address for this forum : forum.excito.org. The old address redirects here but I don't know for how long. Thanks !
New user's registration have been closed due to high spamming and low trafic on this forum. Please contact forum admins directly if you need an account. Thanks !

Webserver on LAN

Got problems with your B2 or B3? Share and get helped!
Post Reply
paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Webserver on LAN

Post by paulchany »

Hi,

I'm trying to explain what am I trying to do.
I have Bubba|Two with WAN and LAN (without WiFi).
On my LAN I wish to setup a webserver. I have registered FQDN: csanyi-pal.info.
I'm using ZoneEdit to manage my Zone: csanyi-pal.info <=> dynamic IP address (that I get from my ISP and this IP is public). So my Bubba webserver is accessible from the Internet on address: http://csanyi-pal.info.

What I wish is that that the webserver on my LAN is accessible from the Internet on address: http://edu.csanyi-pal.info but I haven't another public IP address. Can I get this to work?

Any advices will be appreciated!
Best, Pali
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Webserver on LAN

Post by RandomUsername »

Do you want the two addresses to point to the same page or different pages?

If the former, you can just add another address to your zone record in ZoneEdit. The latter will require a bit of Apache jiggery-pokery too I think (i.e. creating a virtual host).
Tompa
Posts: 81
Joined: 03 Feb 2007, 12:50

Re: Webserver on LAN

Post by Tompa »

I think what he means is that the address http://csanyi-pal.info should point to the bubba webserver, while the subdomain http://edu.csanyi-pal.info should point to a different machine on the LAN.

Since the only public IP he has listens on port 80 on bubba, one would think that some other fiddling must be done to redirect traffic from the bubba to another machine based on the URL?

Correct me if I'm wrong but I don't think Apache handles this type of redirect? Someone told me that reverse proxy could be a way to solve this but I'm not sure how :/

/Tompa
RandomUsername
Posts: 904
Joined: 09 Oct 2009, 18:49

Re: Webserver on LAN

Post by RandomUsername »

I see. I'm not sure I see the point in that kind of setup. No idea how to go about it either.
paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Webserver on LAN

Post by paulchany »

Tompa wrote:I think what he means is that the address http://csanyi-pal.info should point to the bubba webserver, while the subdomain http://edu.csanyi-pal.info should point to a different machine on the LAN.
Exactly that's what I want but don't know how to get it?
On my webserver on LAN I want to run Moodle, and Debian-Edu and want to setup Bubba|Two so that the webserver on LAN be reachable from the Internet as http://edu.csanyi-pal.info.

The webserver on LAN is a Pentium IV class machine and Debian GNU/Linux Lenny run on it. So I can to setup it to run on it Moodle and Debian-Edu. The only problem is how to setup the Home Network with Bubba|Two so to get it work as I wish, that is to get it being reachable from the Internet.
Best, Pali
paulchany
Posts: 123
Joined: 10 Jul 2009, 15:48
Location: Serbia
Contact:

Re: Webserver on LAN

Post by paulchany »

Tompa wrote: Correct me if I'm wrong but I don't think Apache handles this type of redirect? Someone told me that reverse proxy could be a way to solve this but I'm not sure how :/
/Tompa
http://www.apachetutor.org/admin/reverseproxies
On the abowe webpage one can read that that Apache2.2 is neaded for reverse proxy.
On my Bubba|Two is running Debian GNU/Linux Etch so I can't to install with aptitude the Apache2.2, right?
Is there a way to install on my Bubba|Two Debian Lenny?
Best, Pali
Post Reply