Koozali.org: home of the SME Server
Obsolete Releases => SME Server 9.x => Topic started by: brianr on April 27, 2015, 12:54:44 PM
-
Anyone know how to use the Hostnames and Addresses page to configure a DNS entry for the domain without a prefix?
That is want to re-direct "mydomain.co.uk" to an external web server (as well as "www.mydomain.co.uk").
I do not want a wild card.
TIA Brian
-
Actually I realise that I was not quite correct above - I want to resolve "mydomain.co.uk" to another server on my local LAN, not an external IP. Not sure if that makes any difference?
-
http://www.schirrms.net/sme/SMEApacheReverseProxy.php?phpLang=en
-
brianr
From memory put the IP of the local server in the Domains panel (or is it Hostnames ?)
...or look up the FAQ for proxy pass (for web)
& delegate mail domain for mail server.
-
brianr
From memory put the IP of the local server in the Domains panel (or is it Hostnames ?)
...or look up the FAQ for proxy pass (for web)
& delegate mail domain for mail server.
The hostname field insists on having something in it, so you can only do <something>.yourdomain.co.uk.
I can see that the proxypass woud do the trick, but it seems very complex for something so straightforward.
Looking here:
http://en.wikipedia.org/wiki/Zone_file#File_format
I can see this as a Zone file example:
example.com. IN A 192.0.2.1 ; IPv4 address for example.com
which looks exactly what I want to do.
-
brianr
Proxypass & Delegate mail are simple one line db commands, the template method Xavier mentioned is somewhat more complex.
-
brianr
Proxypass & Delegate mail are simple one line db commands, the template method Xavier mentioned is somewhat more complex.
yes, I can see that now - thanks.