Koozali.org: home of the SME Server

sub domain forward to other computer

Offline tropicalview

  • *****
  • 196
  • +0/-0
    • http://www.tropicalview.net
sub domain forward to other computer
« on: March 20, 2008, 04:53:18 PM »
Hi,

I tried to make this work:

we have a sme server as gateway / server with domain abeltasmancur.com
the requests of www.abeltasmancur.com are processed locally.

Now i want to host an website on an other PC to a subdomain like:
admin.abeltasmancur.com

I tried to add this in the Hostnames and addresses:

Hostname Location IP Address Ethernet address Comment Action
admin.abeltasmancur.com Local 192.168.1.5   to admin server Modify  Remove

but when i try to access it it will give me the standard www.abeltasmancur.com webpage (it's local primary hosting)

what do i have to do to make this working?
The sky is not the limit, But when I reach the sky, for sure I will not try to go to the limit.... (donated $25,- upto now)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: sub domain forward to other computer
« Reply #1 on: March 20, 2008, 08:39:51 PM »
what do i have to do to make this working?

Remove created domain per server-manager and try ProxyPass. After that is will reappear in server-manager, do not modify it there as it should work with the commands in the wiki.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline tropicalview

  • *****
  • 196
  • +0/-0
    • http://www.tropicalview.net
Re: sub domain forward to other computer
« Reply #2 on: March 20, 2008, 09:10:52 PM »
Hi Cactus,

it looks like the command in the documentation is not correct, or please correct me if i'm doing this wrong:

Code: [Select]
[root@studenten-srv ~]# db domains set adminabeltasmancur.com
/sbin/e-smith/db dbfile set key type [prop1 val1] [prop2 val2] ...
[root@studenten-srv ~]#

The sky is not the limit, But when I reach the sky, for sure I will not try to go to the limit.... (donated $25,- upto now)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: sub domain forward to other computer
« Reply #3 on: March 20, 2008, 09:30:08 PM »
Hi Cactus,

it looks like the command in the documentation is not correct, or please correct me if i'm doing this wrong:

Code: [Select]
[root@studenten-srv ~]# db domains set adminabeltasmancur.com
/sbin/e-smith/db dbfile set key type [prop1 val1] [prop2 val2] ...
[root@studenten-srv ~]#

You are right, some one has trying to improve readability and made a mistake in rearranging parameters, it should now be fixed.
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline tropicalview

  • *****
  • 196
  • +0/-0
    • http://www.tropicalview.net
Re: sub domain forward to other computer
« Reply #4 on: March 20, 2008, 09:52:28 PM »
Hi Cactus,

You are just Great....

It works, and with so little effort.
Imagine you have to do this in windows, you must install the whole XXX Isa server and spend a 1000 dollars to get this done.

Thanks a lot.
The sky is not the limit, But when I reach the sky, for sure I will not try to go to the limit.... (donated $25,- upto now)

Offline cactus

  • *
  • 4,880
  • +3/-0
    • http://www.snetram.nl
Re: sub domain forward to other computer
« Reply #5 on: March 20, 2008, 09:59:58 PM »
Hi Cactus,

You are just Great....
If you would know me you would say I am tall and my advice was great :-) You're welcome.

It works, and with so little effort.
Imagine you have to do this in windows, you must install the whole XXX Isa server and spend a 1000 dollars to get this done.
I don't know, it should work with Apache on windows as well as long as mod_proxy is loaded I guess... never had to try as I happily run SME Server :-)
Be careful whose advice you buy, but be patient with those who supply it. Advice is a form of nostalgia, dispensing it is a way of fishing the past from the disposal, wiping it off, painting over the ugly parts and recycling it for more than its worth ~ Baz Luhrmann - Everybody's Free (To Wear Sunscreen)

Offline tropicalview

  • *****
  • 196
  • +0/-0
    • http://www.tropicalview.net
Re: sub domain forward to other computer
« Reply #6 on: March 20, 2008, 10:05:45 PM »
To be honest, this modification was needed because the second server at this school will be transfered from windows to SME.

So i'm really happy with it to.

Happy easter.
The sky is not the limit, But when I reach the sky, for sure I will not try to go to the limit.... (donated $25,- upto now)