Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: AO 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
-
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.
-
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
-
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...