Looks like no one’s replied in a while. To start the conversation again, simply ask a new question.

can i use osx server to host an html5 website?

Hi,


I have just started to learn HTML5 and have built a website, I was looking at getting it hosted but wasnt sure if I can just host it on osx server instead of paying a monthly fee.


If I can, will this mean that for people to access the site my computer will have to be switched on? And can I store the server on my external HD and use that instead of the built-in HD?


Thanks.

iMac, OS X Mountain Lion (10.8.2)

Posted on Jan 17, 2013 11:11 AM

Reply
1 reply

Jan 17, 2013 5:38 PM in response to johan van bukken

So, you have a lot of questions in a lot of areas. 1st, HTML 5 is just the version of a language. Your server can interpret and vend files written in this version of HTML provided you code correctly. So the technical part is yes, you can host a site from your server.


But then you get into the practicality issues, such as "does my computer need to be on for people to access it." Obviously, the answer is yes. If you are hosting a web site, the rules of thumb are:


a: turn on the server

b: leave the server running

c: have a statically assigned IP address assigned to the server

d: properly configure DNS so users can reach the site

e: allow search engines to troll your site (or control access using a robots.txt file)


Now, beyond these steps, you should also consider why a hosting company is charging you to host the site. The simple answer is that they are paying for the things that you do not want to... Redundancy. The hosting provider will have redundant Internet connections, redundant power, cooling, servers, and likely geographically distant redundant locations. This means that if one facility fails, your site remains available. When you self host, you are subject to many single points of failure, such as power, Internet, the server itself, Mayan end of days, fiscal cliffs, and tribbles.


So, to sum up. Yes, OS X can do that. Should it? That is a question you must answer based on your risk assessment.

can i use osx server to host an html5 website?

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple ID.