Koozali.org: home of the SME Server

Obsolete Releases => SME Server 7.x => Topic started by: lox on August 20, 2008, 01:31:35 AM

Title: Custom DNS entry
Post by: lox on August 20, 2008, 01:31:35 AM
Hello,

I have to server, my sme server as gateway and another server.

What I want is setup a domain in smeserver to entirely point to my other server. If I add a domain with server-manager I can only have it to point to my SME not an other ip address on the local network. How can I achieve this please?

Regards
Title: Re: Custom DNS entry
Post by: pmstewart on August 20, 2008, 06:10:03 AM
lox,

I'm assuming your talking about setting a redirect from your sme server running in gateway mode to another sme server......

Still left with a few questions.....are the both on the same subnet or in different locations?

First thought which comes to mind would be to write a custom template for the apache config file?? which redirects to the
web site you want to access.....although not sure of the security ramifications......

Good luck.....
Title: Re: Custom DNS entry
Post by: janet on August 20, 2008, 07:04:02 AM
lox

Look in the FAQ for Proxy Pass, also look in Email FAQ for delegating a domain's email.

Both of those may be enough to achieve what you want.
Title: Re: Custom DNS entry
Post by: lox on August 26, 2008, 05:31:42 AM
well , I thought about proxypass, but it seems the target server sees the connection comming from the sme (ip address)
Title: Re: Custom DNS entry
Post by: janet on August 26, 2008, 08:41:20 AM
lox

Quote
... it seems the target server sees the connection comming from the sme (ip address)

Is that a problem ?
Title: Re: Custom DNS entry
Post by: lox on August 26, 2008, 09:04:07 AM
lox

Is that a problem ?


Yes, I need the real ip of the visitor.

Isn't there anywhere to add a line like "mysite.com  ipadress" ?

Regards.