Web Hosting at Home – Pros and Cons
Have you ever thought of hosting your own website from home? This is a question many people on the Internet have asked before. While there are many answers to the question I wrote above, I will give my basic opinion on the matter.
Hosting from home is not always easy. You must manage:
- Your Internet connection (at least to a certain degree)
- Internet router
- Server hardware
- Software (including securing your server OS installation and keeping the software up-to-date)
- Dealing with hacking attempts
- Clean-up successful hacking attempts (this rarely happens on a properly setup server)
- Keep consistent backups of your data (I do three backups daily on my server)
- Putting in battery backups and power surge protectors
- Dealing with support requests
My context when saying “hosting from home” is not running a large web-hosting business. I mean hosting your own private/business website as well as a few friends’ websites (including email). Obviously, you cannot be a large “GoDaddy” web-host, while you are running out of your home. That is not a realistic expectation.
The advantages of hosting from home are the following:
1) Privacy of your data
If setup correctly, no one can easily snoop on your private, confidential data that is on your own server.
2) You can choose your own server hardware
You are not limited by a web host’s hardware options for your server.
3) You can easily deal with server hardware failures
You don’t have to wait for a technician to fix your server.
4) Possibly cheaper for you in the long run
A decent Virtual Private Server purchased online could easily run $20.00/month, and a decent dedicated server could be as much as $100.00/month minimum!
5) No commitments to a web hosting company
You do not have to worry about some web hosting company making unreasonable demands (e.g., 50,000 file limit — on some large websites, you could easily go over a limit like this).
The disadvantages of hosting from home are the following:
1) Possible higher Internet service cost
Your ISP may require you to purchase an Internet service business plan instead of a residential one; this can possibly be expensive but not guaranteed to be expensive.
2) You may not have enough upstream bandwidth
To host efficiently from home, you will need to have at least 30 Mbps of upload speed; any less and you will notice performance degradation with loading your websites from other locations.
Please keep in mind if you are wanting to host several large videos, I recommend either lowering the bit-rate of your videos – so they will stream faster for your users – or use a 3rd party hosting service just for the videos themselves. Most self-hosters will not have enough upload bandwidth to properly serve 1GB+ video files.
3) Unstable home power
Few people may not have stable power at their house or business and thus their server goes on and off; this can easily be fixed by putting in a battery backup for your server.
4) Reliability of your Internet Service Provider
Unless you have a signed agreement with your ISP, they are under no obligation to keep your Internet connection up 24/7.
5) More manual labor required
On a hosted solution online, someone else does the hard work with maintaining your server; when you host from home, you must do it all yourself.
I hope the above helps you decide on whether to self-host web services. I know there are a lot of people online who say it is “bad, silly, stupid, not smart, wouldn’t recommend it” when it comes self-hosing web services.
With all due respect to those people, most of them have never done web hosting by themselves before, and are trashing something they have never done (which is silly and bad in itself!).
Posted in Computers, Internet and Servers
Pros and Cons of the C# Programming Language
Please note that these “pros” and “cons” of C# are my own opinions and do *not* necessarily reflect the average C# programmer out there.
Pros to using C#
- Learning C# will help you later on if you decide to learn harder programming languages (e.g., C or C++). The programming style of C# is very similar to other C languages.
- Since people usually see C# > VB.Net, you should have an easier time finding a C# job, instead of a VB.Net one.
- Most online examples for .Net languages are in C#.
- If you are looking to work with other programmers (commercial or open source), then knowing C# will be a benefit to you. This is because many programmers out there pretty much have coded (and still do code) in some kind of C language.
- The C# language is less verbose (not as wordy) in comparison to the BASIC language. This is more the programmer’s preference than anything else.
VB.Net Verbose Code Example: Dim calculations As Decimal
C#.Net Non-Verbose Code Example: decimal calculations;
Obviously the C# code example has much less to type. You may not think this is a big deal, but if you have 1,000 (+) lines of code to write, you will then understand why a less verbose language is faster to write in.
Cons to using C#
- C# would not be the best programming language for newcomers to start programming with (C# is a more complicated syntax). I would rather start them out on VB.Net, and later on introduce them to C#.Net.
- In C#, you have to use semi-colons [ ; ] at the end of each line of code you write. You get used to it after a while, but it is an extra step that you do not have in VB.Net (and many other languages).
- The C# language is case-sensitive. You can have the variables dateofbirth, dateOfBirth, and DateOfBirth all at the same time. This can overtime cause confusion, if you are not careful.
- C# is not the same as VB.Net in capabilities (they are practically the same, but not necessarily 1:1 on every detail). In other words, if you try to convert a C#.Net project to a VB.Net project (or vice versa) you may encounter difficulties. Please make sure to choose the programming language you really want to use to start with.
- In C#, the switch clause requires a “break;” command every time you check for a value. The case clause in VB.Net does not require this (less to type in VB.Net). Please note that the switch clause in C# is not exactly the same thing as the case clause in VB.Net. There are differences.
- C# uses curly-brackets { } that define the beginning and the end of things like functions, for each statements, if statements, etc. Curly-brackets can become messy unless you are careful to not confuse them with other curly-brackets that are for something else in your code. There is software out there than can highlight curly-brackets for you while you are coding, so you have less of a chance of becoming confused.
So in the end, which programming language do I recommend for you to use? Well if you are new to programming on the computer, I would first start out on VB.Net. Later on, you can move to C#.Net.
If you already have gotten your feet wet with programming, I would go ahead and start learning C#.Net. In the end, you have to make up your own mind. 🙂
Remember the more programming languages you learn, the more valuable you will be to other people who need your programming skills. Also please remember that VB.Net is not evil (regardless of what people may say). It is ok to go ahead and write software in VB.Net if you want to (or need to).
Posted in Computers, Programming