Multiple hostnames on OS X Server
Is it possible - well I'm sure it must be of course but I'm not sure how- to set up multiple hostnames on OS X Server (10.3)?
The setup program that runs after you install it only lets you set one hostname - the example it gives is server.example.com or www.example.edu.
What if I want a different hostname for each service running on the machine, eg
Apache -> www.example.com
Mail (POP, SMTP or both) -> mail.example.com
FTP ->ftp.example.com
QTSS -> video.example.com
MySQL -> db.example.com
etc. etc.
Do I need to edit a config file to do this, and if so could someone please point me in the right direction, or is the a GUI way of doing it?
Thanks
The setup program that runs after you install it only lets you set one hostname - the example it gives is server.example.com or www.example.edu.
What if I want a different hostname for each service running on the machine, eg
Apache -> www.example.com
Mail (POP, SMTP or both) -> mail.example.com
FTP ->ftp.example.com
QTSS -> video.example.com
MySQL -> db.example.com
etc. etc.
Do I need to edit a config file to do this, and if so could someone please point me in the right direction, or is the a GUI way of doing it?
Thanks
Comments
Do I just edit /etc/hostconfig instead?
set HOSTNAME to www.example.com so that Apache can use that and all the other services don't need to be edited?
This is all academic though. As long as you have set-up your zone right via your DNS provider, you'll be fine. You just have to tell the DNS provider to send *.whatever.domain to your IP. All the services will be listening on their respective ports, so it doesn't really matter if you type ftp://ftp.blah or http://www or http://oogabooga.blah...