Koozali.org: home of the SME Server

Another webserver on the lan??

AO

Another webserver on the lan??
« on: February 16, 2003, 10:25:55 PM »
Hi' all...

I am using SME as a webserver located on my lan and webtraffic is forwarded from my router to it.

Now, i have another webserver on my lan which i would like to be able to access from outside. So i have tried to use "Hostnames and addresses" in the way that i have configured a new hostname: otherserver.mydomain.com. Further i have

Hostname Visibility Location Local IP Global IP Ethernet address
otherserver.mydomain.com Local Local 192.168.1.50    

I have also tried:
Hostname Visibility Location Local IP Global IP Ethernet address
otherserver.mydomain.com Local remote 192.168.1.50

But nothing works. I do not get hold of the192.168.1.50 server from the outside by pointing to otherserver.mydomain.com.

Isn't that the purpose?
If not, then how do i do that?
And finally; What does the Visibility signify?

Regards

andrew

Re: Another webserver on the lan??
« Reply #1 on: February 17, 2003, 01:52:16 AM »
you have to run your other server on a different port rather than port 80, and then forward that port from your router to the appropraite server.

Tony P.

Re: Another webserver on the lan??
« Reply #2 on: February 17, 2003, 05:02:15 AM »
You can use ProxyPass to do this. There is a contrib around somewhere. I don't use the contrib I just created my own template.

Search the Forum on ProxyPass and you should find what you are looking for.


Tony

Bill Talcott

Re: Another webserver on the lan??
« Reply #3 on: February 17, 2003, 10:32:58 PM »
AO wrote:
>
> Hostname Visibility Location Local IP Global IP Ethernet
> address
> otherserver.mydomain.com Local Local 192.168.1.50    
>
> I have also tried:
> Hostname Visibility Location Local IP Global IP Ethernet
> address
> otherserver.mydomain.com Local remote 192.168.1.50
>
> But nothing works. I do not get hold of the192.168.1.50
> server from the outside by pointing to
> otherserver.mydomain.com.
>
> Isn't that the purpose?
> If not, then how do i do that?
> And finally; What does the Visibility signify?

The "Visibility" setting tells whether the specified hostname (otherserver.mydomain.com) is valid for only the LAN (Local) or for the entire internet (Global). However, you must have a ServiceLink subscription to be able to provide global DNS wiht your SME. You need to specify via your current DNS server that "otherserver.mydomain.com" is supposed to point there. However, the easiest way is probably just to have your router point a different port (8080?) at 192.168.1.50:80, as opposed to trying to run things through the router and the SME. The hostnames feature of the SME is really designed for when the SME is acting as the LAN's router as well...