Koozali.org: home of the SME Server

Two Servers on on connection with dynamic dns

collinc

Two Servers on on connection with dynamic dns
« on: August 21, 2005, 04:43:34 PM »
Hi

I have one adsl connection and i am running one sme server 6.01 on it, I have set up a secondary server which i would like to use for testing purposes but need to know how i would set it up so i can login to both servers seperately using the web interface.....?????

gbaird

Re: Two Servers on on connection with dynamic dns
« Reply #1 on: August 21, 2005, 06:39:45 PM »
Quote from: "collinc"
Hi
I have one adsl connection and i am running one sme server 6.01 on it, I have set up a secondary server which i would like to use for testing purposes but need to know how i would set it up so i can login to both servers seperately using the web interface.....?????


I have been doing it for a log time you simply just login using the ip addressed to the "new" server ie: https://ipaddress/server-manager or you can us it's hostname
https://hostname/server-manager

hope this helps

collinc

Re: Two Servers on on connection with dynamic dns
« Reply #2 on: August 21, 2005, 09:42:43 PM »
Yes i can login to both when im internal but i want to be able to login into both servers seperately when i am out of the office and need to login remotely!

Quote from: "gbaird"
Quote from: "collinc"
Hi
I have one adsl connection and i am running one sme server 6.01 on it, I have set up a secondary server which i would like to use for testing purposes but need to know how i would set it up so i can login to both servers seperately using the web interface.....?????


I have been doing it for a log time you simply just login using the ip addressed to the "new" server ie: https://ipaddress/server-manager or you can us it's hostname
https://hostname/server-manager

hope this helps

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
Two Servers on on connection with dynamic dns
« Reply #3 on: August 21, 2005, 11:50:01 PM »
this is more difficult as you only have one ip address (dhcp assigned) and need to access 2 boxes. you can try and search the forums on how to add a second server to one web interface. mabye this will resole your query. I am not sure how you will achive access to 2 servers on 1 ddns name.
Kobus............

Offline svetlo56

  • **
  • 39
  • +0/-0
Two Servers on on connection with dynamic dns
« Reply #4 on: August 24, 2005, 03:56:17 PM »
Quote from: "kbensch"
this is more difficult as you only have one ip address (dhcp assigned) and need to access 2 boxes. you can try and search the forums on how to add a second server to one web interface. mabye this will resole your query. I am not sure how you will achive access to 2 servers on 1 ddns name.


Well, it's quite simple you set the second server tolisten to the port 8080 instead of 80. You need to modify httpd.conf to listen to 8080. The problem is there are a dozen of httpd.conf files and that's what I am working on now. Once set, you access your secondary webserver with
myserver.com:8080

Offline Kobus

  • *****
  • 153
  • +0/-0
    • http://www.fullnet.co.uk
Two Servers on on connection with dynamic dns
« Reply #5 on: August 24, 2005, 04:25:23 PM »
d'oh

off course

i completely forgot about that.
Kobus............

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Two Servers on on connection with dynamic dns
« Reply #6 on: August 24, 2005, 07:09:01 PM »
Quote from: "collinc"
Hi

I have one adsl connection and i am running one sme server 6.01 on it, I have set up a secondary server which i would like to use for testing purposes but need to know how i would set it up so i can login to both servers seperately using the web interface.....?????


Presuming that you wish to access the server manager from your local network, you configure server2 in the hostnames and addresses panel of server1, then access the server manager of each server via:

https://server1/server-manager/

and

https://server2/server-manager/

If you wish to access the webserver of server2 from the Internet, then you need to configure portforwarding (via the panel) on server1, and forward, say, port 8080 of server1 to port 80 of server2. Then access (from the Internet) via the URL http://your.domain.name:8080/. Note that port forwarding doesn't work from the LAN, so you can't use that URL from inside your local network.