How to set up virtual domain on snow leopard server

Posted on 2010-08-17
Medium Priority
Last Modified: 2013-11-11
As someone new to DNS and Snow Leopard Server, I'm a bit stuck.

I currently have 'example.com' functional on my server. I'd like to add - 'sub.example.com' and have it point to it's own directory on my server.

I've tried several tutorials, but were unsuccessful as they assume more that I know. Apparently, it's fairly easy in SLS.

Will someone please tell me how to proceed?
Question by:Geocide
  • 2
LVL 32

Accepted Solution

nappy_d earned 2000 total points
ID: 33463899
First, is this domain publicly registered? If it is not, I reccoment that you end the domain name with ".private" or you may be in for a world of hurt and frustrations.

To create a sub-domain:
- open your server manager app
- click on DNS
- click on new zone
- enter your zone name(sub.domain.com.private)
- now you can enter your A, C and MX name records.

Author Comment

ID: 33465414
Maybe it's so simple it's hard... I tried exactly that but no dice. Perhaps I've messed up the details.

Yes, it's publicly registered.

I did the following steps.

Opened Server Admin -> DNS -> Zone -> Clicked 'add Primary Zone'

Entered "test.xxx.biz", 'Fully Qualified' was pre-checked. Added Nameserver. The zone was populated with text.xxx.biz and nameserver was automatically populated with 'xxx.test.xxx.biz' I saved the settings.

Then I added a cName and entered text.xxx.biz

Then I added a Machine and entered the local IP of my webserver.

Thinking that I need to have this point somewhere, i went to the 'web' section and added a 'new site'. I entered test.xxx.biz and pointed it to a web directory. However it does not resolve.

Where have I gone wrong?
LVL 32

Expert Comment

ID: 33473021
Additional questions to be answered:

- Well, you have registered your domain name but with your registrar, have you specified which server maintains the dns record for this domain?

- Since this is a publicly registered domain, do you have a static IP from your ISP

- when you perform an nslookup of your domain name, what are the results returned?

Featured Post

Train for your Pen Testing Engineer Certification

Enroll today in this bundle of courses to gain experience in the logistics of pen testing, Linux fundamentals, vulnerability assessments, detecting live systems, and more! This series, valued at $3,000, is free for Premium members, Team Accounts, and Qualified Experts.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

The /etc/authorization file in Mac OS X 10.x can be used to control access to the various panes of the System Preferences amongst other things. It’s used by some of us Mac Sys Admin’s to give Standard Users access to System Prefs panes that only adm…
In this article we will discuss some EI Capitan Mail app issues and provide some manual process to resolve them.
This Micro Tutorial hows how you can integrate  Mac OSX to a Windows Active Directory Domain. Apple has made it easy to allow users to bind their macs to a windows domain with relative ease. The following video show how to bind OSX Mavericks to …
Free Data Recovery software is an advanced solution from Kernel Tools to recover data and files such as documents, emails, database, media and pictures, etc. It supports recovery from physical & logical drive after a hard disk crash, accidental/inte…

623 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question