My server is accessible via example.com and I want my website to be accessed via sub.example.com. I added a website to Mountain Lion server with domain name that's actually a subdomain; sub.example.com. I than added a new host name to DNS service, so that the hostname sub.example.com resolves to the IP address of the server (

Now, I can view the website sub.example.com on the server itself, but other clients in the local network are not able to access the website.

The command nslookup sub.example.com has this result:


Name:       sub.example.com

Did I configure the website correctly? What's going wrong?

You must log in to answer this question.

Browse other questions tagged .