Koozali.org: home of the SME Server

DNS service - how to make domain:80 point to another machine

e-SKape

DNS service - how to make domain:80 point to another machine
« on: August 11, 2002, 05:59:36 AM »
Hi

I finally got e-Smith up and running... Well... After I've swapped my SCSI CDROM with a IDE ditto, it just worked fine...

Anyway.

I got DNS up and running (i think...) but I have an IIS (windBlows) webserver running on 192.168.1.2 and an apache webserver on the SME-server at 192.168.1.3. The full domain name i've got from dyndns.dk (a danish service like dyndns.org. It's in english too, and it's easy!) i "sk.lir.dk".
lir.dk is dyndns.dk's, and sk is mine. So my full domainname is sk.lir.dk, where my website on IIS was before... Now it's the apache, that's the default webserver, when i type in sk.lir.dk in Internet Explorer. How do i change it to the other server? I mean, how do i set all incoming trafic on port 80 to 192.168.1.2 ?
If i write http://server (which is the win-server) then the win-homepage shows op... naturally.

Hope u understand...

B/R
//e-SKape

Des Dougan

Re: DNS service - how to make domain:80 point to another mac
« Reply #1 on: August 11, 2002, 06:10:24 AM »
Do a search on the forums here for ProxyPass - it's come up previously.

Des Dougan

chris meredith

Re: DNS service - how to make domain:80 point to another mac
« Reply #2 on: August 11, 2002, 06:51:18 AM »
You could port forward port 80 to the internal box.  That way you couth forward your external nic to the IIS box, but leave the internal nic alone so you can still access the server manager.  I do that for a fairly high traffic site and it seems to work fine.  

ProxyPass works, but unless you need to forward different names to different boxes I wouldn't use it.  ProxyPass seems to be a lot slower than just forwarding the port.

e-SKape

Re: DNS service - how to make domain:80 point to another mac
« Reply #3 on: August 11, 2002, 08:12:26 PM »
chris meredith wrote:
>
> You could port forward port 80 to the internal box.  That way
> you couth forward your external nic to the IIS box, but leave
> the internal nic alone so you can still access the server
> manager.  I do that for a fairly high traffic site and it
> seems to work fine.

I'm not sure I understand u...
I forward port 80 in my router to 192.168.1.2, my Winbox.
But anyhow, it's the smeserver, 192.168.1.3 that gets the request for the webpage... (It writes:"This web site is under construction" -> the apache server)

//e-SKape

e-SKape

Re: DNS service - how to make domain:80 point to another mac
« Reply #4 on: August 11, 2002, 09:30:24 PM »
Wait a minute... SME isn't gateway!!! my router is...

 WAN (internet)
   |
 Router
   |
Switch
___|_______________
 |        |      |
SMEsrv.   |      |
    Windowssrv.  |
      Some other clients (2k + w98)

(Hope my little ASCII art isn't all too scrambled... hehe)