Koozali.org: home of the SME Server

Domain management

Offline edbneutron

  • *
  • 10
  • +0/-0
Domain management
« on: November 08, 2007, 09:50:15 AM »
Hello!

I have a simple question:
How can i add an external subdomain to SME-Server which is not managed by SME itself?

Explanation:

My SME-Server:  mysmeserver.com

My external domain:  mydomain.com

I want to have an ibay with wiki.mydomain.com on the SME-Server, but NOT the DNS-A record (mydomain.com).

Is this possible?
Thanks!

Offline jester

  • *
  • 496
  • +1/-0
Re: Domain management
« Reply #1 on: November 08, 2007, 10:51:53 AM »

Offline Boris

  • *
  • 783
  • +0/-0
Re: Domain management
« Reply #2 on: November 09, 2007, 07:33:30 PM »
You can add wiki.mydomain.com A-record on external DNS server as domain (not host) and point it to your SME server address, while keeping A-record for mydomain.com pointing to external server's address.
...

Offline edbneutron

  • *
  • 10
  • +0/-0
Re: Domain management
« Reply #3 on: November 10, 2007, 11:17:40 AM »
Thanks for the replies!

I figured out how to set an ibay to an external domain.

But there is another thing...

we have 2 additional servers inside our lan that will be accessible from outside.

lets call them aux1 and aux2.
So they would be reachable with aux1.mydomain.com and aux2.mydomain.com
with IP-Adresses 123.123.123.1 and 123.123.123.2.
Inside the LAN they have the IP 192.168.1.2 and 192.168.1.3.

The SME-Server is the DNS for our LAN. So i would need to make an host entry for aux1/aux2.mydomain.com and set them to the internal IP-Adress.
Here the same problem occurs. I am not able to manage single domain entries without managing the whole domain.
... i guess thats not possible...

Regards,
Edgar

Offline mmccarn

  • *
  • 2,657
  • +10/-0
Re: Domain management
« Reply #4 on: November 10, 2007, 07:41:58 PM »
You might look at http://wiki.contribs.org/SME_Server:Documentation:FAQ#Proxy_Pass to see if it will let you do what you want.

I *think* that Proxy Pass will let you have the domains on the SME, but return the contents of various internal servers to both internal and external users...

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Domain management
« Reply #5 on: November 10, 2007, 11:59:05 PM »
You can add wiki.mydomain.com A-record on external DNS server as domain (not host) and point it to your SME server address, while keeping A-record for mydomain.com pointing to external server's address.

No, an A record will do. Ed might also need to add a domain wiki.mydomain.com in the server-manager (depending on how the wiki software is installed/configured).

Offline CharlieBrady

  • *
  • 6,918
  • +3/-0
Re: Domain management
« Reply #6 on: November 11, 2007, 12:00:25 AM »
we have 2 additional servers inside our lan that will be accessible from outside.

lets call them aux1 and aux2.
So they would be reachable with aux1.mydomain.com and aux2.mydomain.com
with IP-Adresses 123.123.123.1 and 123.123.123.2.

SME server has no support for multiple external IP addresses (but you don't need them to have multiple websites).