Q: How to host my website(s) on a Mac Mini with OS X Server ?
It's been 2 weeks and getting disappointed. I tought OS X Server would be the easiest way to host a website from home, but now I see that's not true.
Got a Mac Mini and want to use it as a dedicated server, for my home network and for my websites (and iOS apps, databases etc.).
Registered a temporary domain, replaced my dynamic ip with a static one, bought a SSL, and purchased OS X Server for Mavericks, right just one month after purchasing for Server 2.2 (that's not fair I think, another story.).
I went to my domain registrars control panel and redirected the A host record to my brand new static ip, and edited the nsX.domain.com / nsY.domain.com records.
Then on the OS X Server, I turned the website option on, and added the new domain there. (both with port 80 and port 443 for SSL).
I don't know what's wrong but the website doesnot run.
Another thing, it's really hard to find where the OS X Server stores my website files, hard to locate it. By default it seems like generates a new folder with domain name, but you can't locate it.
Need help.
Mac mini, OS X Mavericks (10.9), OS X Server
Posted on Nov 16, 2013 5:31 PM
The web files must be readable by the web server user; by user www (or use _www, depending on the context).
This article on Apache on OS X describes the general process of setting up ownerships and protections, though you'll be working in (or under) the /Library/Server/Web/Data/Sites directory and not the older /Library/WebServer/Documents directory discussed in the article); you'll be using a command such as cd /Library/Server/Web/Data/Sites to get to the newer default web directory.
Posted on Nov 19, 2013 12:51 PM






