Blog Navigation
Partners
Latest Activity
Phil explains how to use the old telephone tones to wane off telemarketers!
Windows or Linux Hosting?
Often times, I’m asked the question: Should I get Windows hosting or Linux hosting for my new website. This is a topic that comes up time and time again in my field of expertise and sadly, newbies often choose based on perception, not based on fact. This blog will cover some of the facts about both hosting platforms and hopefully help you make an informed decision about how you want your website hosted.
Due to perception, Windows hosting, by no doubt, is the most chosen hosting platform by newbies worldwide (in my experience). Unless my knowledge is outdated, Windows is the most popular and used operating system on the market today. I’d say that there are at least 2 windows users to every mac or Linux user out there, there are possibly as many as 5 or 6, but I will remain with a conservative estimate. Most new people who are just starting in the website world want their new website to be as compatible with everyone else as possible. Since most people use Windows, most newbies make the assumption that Windows hosting is necessary to ensure that most of their friends will be able to see their website without any compatibility issues.
Before I get to the main point, I’d like to explain how a web server acts under the hood. Deep down in the guts of the web server’s programming, there is a concept called a socket and a protocol. Sockets are used to open a connection from any web browser (Internet Explorer, Firefox, Chrome, Safari, Opera, etc) to the web server sitting in a data center somewhere. A socket is similar to establishing a telephone call to a friend, the wires that connect both ends of the telephone receivers together can be viewed as a socket. A protocol can be simply described as a means of communication. When you’re on the telephone, there is a way that you speak, for example, you expect to hear hello before the conversation begins, and there are pauses and such as both sides understand the other. If the connection is weak, one side may ask to hear the message over again. This is the normal protocol of a telephone call. Computers are no different, they expect hello messages, acknowledgment messages and such to validate that the message each side got was the correct message. In the web’s case, this protocol is called Hyper Text Transfer Protocol (HTTP). Finally, there is data that is passed through the socket. The data follows the protocol specification. On the telephone, you’d begin speaking English, then once done, you’d wait for the other side to return its response in English. Most web browsers understand HTML (Hyper Text Markup Language) and this is passed through the socket. The last paragraph has been ultra simplified so that you can get the idea.
Contrary to popular belief, Windows hosting is actually just as compatible with the world as Linux hosting is! Because of HTTP, all web servers must communicate using a single protocol which is HTTP. All browsers that work with the web send an HTTP request to a web server for a certain content and the web server returns it. It may not always be plain text (HTML is written in plain text), but at times it may be binary (1/0 encoded) data that contains an image or other files. Regardless, the web server must be uniform in a response, it is up to the browser how this data may be displayed.
ASIDE: Most web developers are annoyed about how they HAVE to test Internet Explorer, Opera, Firefox, Chrome, and Safari to make sure that their web page looks correct. Browsers all will get the same exact data from the server, but they parse the data differently. Think of English, I’m sure that you’ve been in situations where you misunderstood the other party and therefore took a different action. Computer browsers parse (or understand) the same web page differently, so they may display web pages a bit different than other browsers. To implement (program) a browser, you need to look at the specification of the HTTP protocol and HTML language then give the browser methods to display what it understands. There is no single way to write a parser, therefore all parsers (browsers in this case) may produce slightly different results. In the past, Microsoft has been the worst offender since they didn’t fully implement the HTML specification which is well known, but they’ve gotten much better.
Back to the original topic, since all servers have to return the same exact data, it doesn’t matter what operating system is on the server, it will return the same compatible data regardless. So now, what are the differences between Windows and Linux based hosting?
Windows Hosting-
Linux Hosting-
So, I’ve done a comparison, what is the verdict? In my humble opinion, Linux is by far my choice of a hosting platform. Although Linux admins may cost a little more, they really don’t cost enough more to make it unreasonable (Windows admins make a good pay check too!). It does everything that Windows can do and more. There is just one catch with Linux. Linux doesn’t support Microsoft SQL Server or ASP.NET (active server pages) fully (You can achieve partial support using MONO). Therefore, if you must have a website that uses either MSSQL or ASP/ASP.NET, I’m afraid that you have no choice if you want your website to work without problems. Most websites are programmed in PHP, so this is rarely a problem, but for some businesses that started long before PHP was created, ASP is a need, therefore, Windows is needed.
Yet another Aside: You may have noticed that not too long ago, I added a new Windows server to Matthouse (bit). This was added because I do not have a lot of ASP experience and I thought it would be nice to get some experience with it. I’ve decided to use ASP to pull data from Microsoft Exchange to display a new calendar on FamousPhil. I hope that this is done by the end of August! Unfortunately, I cannot access Exchange from PHP, so I had no real choice but using ASP.net to pull data.
This blog post was made because I’ve always seen newbies go for Windows without a real reason. Its sort of like the Mac fans who fight to get Mac products for no real advantage over something like the Android OS on Verizon Phones. Hopefully this blog post will convince you that Linux is indeed a better choice unless you seriously want to learn or use ASP.net for your website.
Tags: choice, hosting, Linux, windows
Posted in Hosting / Server Administration, Programming, Technology
man your blog is just awesome i had to get that out my system
Can I just say what a relief to find someone who actually knows what theyre talking about on the internet. You definitely know how to bring an issue to light and make it important. More people need to read this and understand this side of the story. I cant believe youre not more popular because you definitely have the gift.
Hey admin, very informative blog post! Pleasee continue this awesome work..
[...] View original post here: FamousPhil.com Admin Blog and More » Windows or Linux Hosting? [...]
You in fact make high high quality articles I would say. This is the first time I visited your web site and so far I’m impressed with the research you made to make this write-up amazing. Superior Job!
I randomly browse blogs on the web, and I discover your article to be very informational. I have already bookmark it on my browser, so that I can view your weblog publish once more later. Also, I’m wondering whether your weblog is open for link change, as I really wish to exchange links with you. I do not usually do that, however I hope that we will have a mutual link exchange. Let me know and have an amazing day!
Perfect web site, i want it!
Look at http://famousphil.com/contact for details about this.
I just required to say that I found your site via Goolge and I am glad I did. Continue the good work and I will make sure to bookmark you for when I have much more free time away from the books. Thanks!
good!it’s very useful!thx!
Give it a try again and this time try pressing crtl key + the download you may have a popup blocker on. Email me and let me know what you get. That was what my major frustration was. Hope this helps
I found this information interesting.
Cheers for this article. When running a site, selecting the best web hosting company can be difficult because of the large variety of web hosting options to select, and because it’s not easy to decide whether you can trust the web host you’re with – Will they keep your files safe? Will they be reliable and keep your sites online? On the plus side, I find that researching the web host can help to find out whether they’re good or not. For this reason, I always find out other customers opinions of the web hosting company before using them.
ive just started my own hosting company its such hard work haha
I am running a own hosting company, i will follow your tips
heheeee…
That is very inspirational stuff. Never known that feeling can be this diversified. Thanks for all the enthusiasm to extend such helpful information on this post. . . .
hehe.. I have own web hosting site but now I think I need to follow you
.
I enjoy the writing relevancy of your website and it does a nice-looking decent job of presenting the info.
Thanks for this great blog post, it has been a fun read.