PDA

View Full Version : Setting up a local DNS and some webs on a OS X Server




outstander
Jul 13, 2010, 08:09 AM
Hello everyone. I just bought a macMini Server a few days ago and I'm trying to set it up right now. My idea is to run the built-in DNS and set up the domain www.myoutstander.net, which should point to the same server.

For that, I enabled the DNS service, tipped in the forwarder dns and added a fully quantified primary zone with the name myoutstander.net. and the the DNS myoutstander.net. (NS-Host: 192.168.2.90) as a nameserver.
http://www.outstander.net/pictures/dns-osxserver.png

As you see on the image, I also added a C-Record with the value www which points to my server-ip.

After all I saved the settings and the domain www.myoutstander.net works fine.

First, it would be great if someone could tell me, if the settings are correct.

Second, I'm not sure about what I've to do if I want to add a Website to the server, which should be reachable under myweb.myoutstander.net.

I tried to add a new entry under web with the following settings:
http://www.outstander.net/pictures/web1-osxserver.png
http://www.outstander.net/pictures/web2-osxserver.png

Unfortunately it is not really working. If I disable the 2nd entry on the first image, the main domain www.myoustander.net is pointing to the project subdirectory but thats not what I want.

I'm intending that the main domain www.myoutstander.net is pointing to a local portal website and the subdomain, for example project1.myoutstander.net, is pointing to its subdirectory.

It would be great if some could help me..

Thank you very much



outstander
Jul 16, 2010, 06:40 AM
anyone an idea?