Website Babble Webmaster Forums  


Go Back   Website Babble Webmaster Forums > Creating a Website > Web Hosting

Your WB Notifications

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 03-17-2009, 07:01 PM
ERICK's Avatar
Master Babbler
 
Join Date: Jan 2009
Location: Reynosa, Mexico
Posts: 154
ERICK is a reputable WB member and has over 100 reputation pointsERICK is a reputable WB member and has over 100 reputation points
Question Windows/Linux

Ok guys I bet a lot of us that are newbies wonder what the difference is with Windows and Linux hosting, right? Well I have started this thread so that our more knowledgeable babblers can give us some insight in the matter. So please fellow babblers post your opinions, thanks.

Reply With Quote
  #2 (permalink)  
Old 03-18-2009, 07:45 AM
Donk's Avatar
Supreme Babbler
 
Join Date: Jan 2009
Location: Kent UK
Posts: 590
Donk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation points
Default

I asked my son what he thought the difference was and he said about 50 bucks .

That is one difference the cost of a windows server is often more expensive.

The major difference in my opinion is the security. You don't need to install antivirus software on a linux server and unless the server is very badly set up no hacker can get root access into the linux core.

Software for linux is often open source and free to download.

If windows and IIS are any good why are some pro-windows sites running apache/linux ?


Bob
__________________
PHP Snippets PHP Captcha Code Resizable Html
"A website with a thousand resources starts with a single page".
"Don't fight the gator - clear the swamp"
Reply With Quote
  #3 (permalink)  
Old 03-18-2009, 09:56 AM
ERICK's Avatar
Master Babbler
 
Join Date: Jan 2009
Location: Reynosa, Mexico
Posts: 154
ERICK is a reputable WB member and has over 100 reputation pointsERICK is a reputable WB member and has over 100 reputation points
Thumbs up Yeah security...

Yeah I thought about security also. I think Linux stays up to date on security better than Windows and the fact is that Linux is like a strong box. I personally have Ubuntu 8.10/Vista on my dual booting Dell Laptop and itīs great having a ton of free software at your fingertips. I think it costs more to update a Windows server therefore it is more expensive. Aside from ASP.NET technology I think a Linux server does everyhting better.
Reply With Quote
  #4 (permalink)  
Old 03-18-2009, 10:17 AM
James's Avatar
Super Moderator
 
Join Date: Dec 2007
Posts: 2,750
James is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation bars
Default A little more

First, there is one thing that is not different. Neither has anything to do with the operating system on your computer. Many new folks think they have to have linux operating system on their computer to use linux hosting so try to find windows hosting thinking it means that the hosting system relates to the windows operating system on their computer. There is no relationship. In particular, windows on your computer works perfectly well with linux hosting and is indeed the usual practice.

As to the software issue, windows hosting is basically designed to support ASP.net and other Microsoft programs (spelled $$$$$). Linux is aimed at supporting php and MySQL and other open source programs (these are top notch programs and spelled "free"). That doesn't mean they don't support anything otherwise, but you have to check.

There are many other advantages to using linux hosting. Bob has given a good indication of them.

One specific thing that I have found is quite significant. Windows hosting does not support .htaccess. (This is my experience, I won't say it is impossible for a host to arrange it somehow, I'm not sure if they can or not.) This means you cannot set your computer to use .html or .htm or anything else but .shtml files and use includes. This in turn means that you must name all your files with .shtml extensions at the least.

Since this is a basic article primarily for beginners, let me note that includes are codes that insert files into your page code. For example, you can write your navigation in one file and "include" it with one line of code into all your pages. If you want to add an item to your navigation you add it to the one include file and it is automatically done for your whole site rather than having to edit it into every page individually. This is an important technique to learn and use.
__________________
Good Success!

Douglas County Master Gardeners
"We don't always get what we want, but we always get what we expect."
Reply With Quote
  #5 (permalink)  
Old 03-18-2009, 10:42 AM
Donk's Avatar
Supreme Babbler
 
Join Date: Jan 2009
Location: Kent UK
Posts: 590
Donk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation pointsDonk is an elite member of WB with 1500+ reputation points
Default

Quote:
Originally Posted by James View Post
One specific thing that I have found is quite significant. Windows hosting does not support .htaccess.
I don't think it's possible with IIS but with Apache (running under WAMP) it is easy to set up.

I'm not too sure exactly how I did it (my brain cells are slowly fading) but it something to do with uncommenting "LoadModule rewrite_module modules/mod_rewrite.so" in the Apache httpd.conf file.

Here is a how to do it page: http://www.avnetlabs.com/php/apache-...ite-on-windows .

Regards

Bob
__________________
PHP Snippets PHP Captcha Code Resizable Html
"A website with a thousand resources starts with a single page".
"Don't fight the gator - clear the swamp"
Reply With Quote
  #6 (permalink)  
Old 03-18-2009, 10:51 AM
ERICK's Avatar
Master Babbler
 
Join Date: Jan 2009
Location: Reynosa, Mexico
Posts: 154
ERICK is a reputable WB member and has over 100 reputation pointsERICK is a reputable WB member and has over 100 reputation points
Thumbs up CONFUSED???

Quote:
Originally Posted by James View Post
First, there is one thing that is not different. Neither has anything to do with the operating system on your computer. Many new folks think they have to have linux operating system on their computer to use linux hosting so try to find windows hosting thinking it means that the hosting system relates to the windows operating system on their computer. There is no relationship. In particular, windows on your computer works perfectly well with linux hosting and is indeed the usual practice.

As to the software issue, windows hosting is basically designed to support ASP.net and other Microsoft programs (spelled $$$$$). Linux is aimed at supporting php and MySQL and other open source programs (these are top notch programs and spelled "free"). That doesn't mean they don't support anything otherwise, but you have to check.

There are many other advantages to using linux hosting. Bob has given a good indication of them.

One specific thing that I have found is quite significant. Windows hosting does not support .htaccess. (This is my experience, I won't say it is impossible for a host to arrange it somehow, I'm not sure if they can or not.) This means you cannot set your computer to use .html or .htm or anything else but .shtml files and use includes. This in turn means that you must name all your files with .shtml extensions at the least.

Since this is a basic article primarily for beginners, let me note that includes are codes that insert files into your page code. For example, you can write your navigation in one file and "include" it with one line of code into all your pages. If you want to add an item to your navigation you add it to the one include file and it is automatically done for your whole site rather than having to edit it into every page individually. This is an important technique to learn and use.
Gee James that was some good info, just wish I could understand it better. Iīll have to Google it up now.
Reply With Quote
  #7 (permalink)  
Old 03-18-2009, 10:51 AM
TechieGuy's Avatar
Super Moderator
 
Join Date: Jul 2007
Location: Canada
Posts: 2,751
TechieGuy is an exceptional WB member with over 1,000 rep points!TechieGuy is an exceptional WB member with over 1,000 rep points!TechieGuy is an exceptional WB member with over 1,000 rep points!TechieGuy is an exceptional WB member with over 1,000 rep points!TechieGuy is an exceptional WB member with over 1,000 rep points!TechieGuy is an exceptional WB member with over 1,000 rep points!TechieGuy is an exceptional WB member with over 1,000 rep points!TechieGuy is an exceptional WB member with over 1,000 rep points!TechieGuy is an exceptional WB member with over 1,000 rep points!
Default

A Windows server requires a lot more programming knowledge than with Linux, since you would probably be coding in .Net (VB.Net or C#) for Windows and PHP for Linux.

I use IIS at work, but my blog is hosted on a Unix server.

You can change the file types on a Windows server, but you need to go into IIS to easily do this. By default it looks for a HTML (.htm) file, but you can use ASP (.asp) or a .Net web application (.aspx). Many options can be set within IIS, including directory security, compression, and log files. .Net is great if you will be developing a large web application, since you can have multiple versions of an assembly (compiled DLL code) installed on a single server. This way if you have multiple application using different versions of a DLL, all will still be able to run. In terms of databases, Windows boxes would probably use SQL Server 2005 instead of MySQL.

I am just starting to get my head around MySQL and PHP, but it is easier to use since it only deals with text files. Most of the options you can easily change by simply opening the .htaccess file in a text editor. The only complicated part is understanding what is in the file.
Reply With Quote
  #8 (permalink)  
Old 03-18-2009, 12:23 PM
James's Avatar
Super Moderator
 
Join Date: Dec 2007
Posts: 2,750
James is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation barsJames is an elite member of WB with the maximum amount of reputation bars
Default a little clarification

Although I tried to be as clear as possible it isn't easy to follow all of this stuff.

Let me try to simplify what is at the heart of this. In order to use the simple "include" statement, which is a one line code you put into your html telling the browser to insert a separate file such as a header or navigation, you have to tell the server to allow it. This requires you to have a little file in the root folder of your server named .htaccess. Windows servers do not support this, at least as a rule.

A linux based server does support this. After you put this brief .htaccess file into your root folder at your host you would just use a line like this inserted into your html where you want the content of the external file to be placed:

<!--#include virtual="/includes/header.html" -->

This would insert a file named header.html found in a folder named "includes" into your page.

For complete, and I think fairly easy to follow instructions see:

http://www.perlscriptsjavascripts.co...howto/ssi.html
__________________
Good Success!

Douglas County Master Gardeners
"We don't always get what we want, but we always get what we expect."
Reply With Quote
  #9 (permalink)  
Old 03-28-2009, 09:12 AM
Master Babbler
 
Join Date: Jan 2009
Posts: 266
shakir is a reputable WB member and has over 100 reputation pointsshakir is a reputable WB member and has over 100 reputation points
Default

Webmasters are selecting OS according to the site script and nature.. if us e any MS DB or script windows is better.. but for other script like PHP db like mysql.. or static site better Linux..Linux is more cheaper than windows... But me suggest if have budjet go for windows.. will work all MS product,PHP, mysql etc...
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT -6. The time now is 02:38 PM.


 Subscribe to RSS

WB Sponsors

flash chat

Home Jobs Online

Search Engine Marketing

Paid Surveys

Web Design Newcastle



 Subscribe to the Website Babble Feeds

2 Create a Website Homepage | 2 Create a Website Blog


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.1.0