The first hurtle is owning a domain name, after you've got a domain name you need some way of pointing that domain name to your server and that can be a little tricky depending on your ISP. If you've got a dynamic IP, one that can change at any time then you'll need to look into a service like DynDNS.com's Zone Level Services to route everything to your Mac mini when your IP changes. DynDNS.com has a free daemon that's always running in the background on your server, when it notices an IP address change it will update all your accounts at DynDNS.com. Although the daemon is free, their zone level services are not, they cost around $30 per year per domain. You can however get a free hostname from them, for example myname.dyndns.org.
After you've got everything set up so your domain name is pointing towards your server make sure you've got your Mac mini open on port 80 (Web) and any other services you want (like FTP, AFP, VNC, etc.). You need to do this through both your router and firewall on the server (if the firewall service is running).
To enable the Web services on OS X Server, open Server Admin.app under Server in Applications. Under Settings and the Services tab, check the Web service and save the configuration.
After the web service is enabled, go to it and under Sites you should see the default. If you went to your wbesite now you should see a page generated by OS X Server. The Web Folder is the location where the files are stored. I would recommend creating a new folder and new host, setting the Web Folder to the new location and adding your domain name to the Aliases list. I would also recommend adding www.yourdomain.tld to the aliases list.
After you copy the files for your website into the web folder your website should work. So long as you don't require any additional services like MySQL you should be set.

Help
Add Reply



MultiQuote







