MacOS – OS X Server 3.0 – DNS & Server Names

dnshostsmacososx-server

I have two Mac Mini's running Mavericks Server. The hostnames for them are as follows:

  • macsvr01.mydomain.com
  • macsvr02.mydomain.com

I want to be able to access macsvr02 by going to cloud.mydomain.com as it provides cloud services. What do I need to do to be able to access the same server from two different hostnames? I'm assuming it would be an alias?

I want to limit access to specific services based on the host and domain name. For example, macsvr02.mydomain.com should allow access to Profile Manger via www.mydomain.com/profilemanager. But Profile Manager should not be accessible via cloud.mydomain.com/profilemanager. I'd like to use the cloud.mydomain.com FQDN for Contacts/Calendar/Messages service access only.

Best Answer

Domain Name System, or DNS,

translates easily memorized domain names to the numerical IP addresses

For what you are asking all that is necesary is two DNS records specifying the same IP address. You could make your Mac Mini Mavericks server aware of the multiple domain names, using an alias, but it is not an absolute necessity to have the functionality you seek.

The questions that remain are:

  • Whom or what is handling your domain names, and translating your public address to the IP of your server? Your ISP?
  • Did you reserve and purchase your desired domain names?

Possibly of some use to you is this tutorial, How to Configure OS X Mavericks Server App 3.X Basic DNS and Server Settings

You'll find a more advanced an in-depth explanation of DNS here