Codementor Events

Web Hosting Servers: What is it & why do you need it?

Published Dec 15, 2021
Web Hosting Servers: 
What is it & why do you need it?

As technology is growing day by day each and every person wants to switch to the internet. If you are owning your business or in the education sector or even in any profession and you want to recognize your profession or business on the internet you need to develop your website and host that website on a server so everyone who is accessing the internet recognizes your identity.
Webhosting0.drawio.png

Web hosting is a necessity for any website — it is the physical location of your website on the Internet, an online storage center that houses the information, images, video, and other content that comprises your website. You can understand this whole story with this example:

In the physical world if you wanna build your house you have to first buy a plot or a piece of land after that you have to build your house there and that house has a specific address right…? In the same way when you enter the internet world you have to first buy some space(physical machine to your workplace) that is called a web server and then you build your home there that is called your website and also some address is called your domain name.

Webhosting1.drawio.png

Owning a web server is a tedious job and also brings lots of responsibility, the same as in your own house you have to be responsible for all the maintenance, renovation, and modification. In this approach your prime focus shifts from your business to maintaining the web server, so it's not the good choice. Instead of buying, we can rent some space and host our website there. Now the question arises how you rent the server, for this lots of web hosting providers are available and they have minimal charges of hosting service. Benefits of this approach is you have less responsibility on the server side. You can just focus on your work and you can rent space according to your need so you can pay according to your needs.

What are different types of Web Hosting ?
Most of the web hosts provide different kinds of hosting so you can serve the different clients with their different needs - whether you want to build a simple personal blog or own a large online business and are in a dire need of an intricate company website. Here are the types of web hosting which are mostly available :

Shared Hosting
VPS Hosting
Dedicated Hosting
Cloud Hosting

1.Shared Hosting : It is the best suitable for the initial level of your website, in this you have shared all the resources like RAM, CPU with the other hosted website. It is the same as if you have a flat in one building with all shared premises and facilities. This approach has its own pros and cons and they are as follows:
Pros :
Low cost, excellent for small online business websites
No need for specific technical knowledge
Pre-configured server options
User-friendly control panel — cPanel/Plex
Maintenance and server administration is taken cared for you
Cons:
Little or no control over server configuration
Traffic surges on other websites can slow down your website.

building_shared.png

Think like this: you rent a flat in some building and you have a common porch, lift, stairs, parking, garden space, club house. Now imagine all sounds perfect, but suddenly one day your near flat member has a party and they are using the same lift, corridor and parking. Now you want to go to the office, and have problems going out because of this. When will it happen often then. And one day you throw a party and on the same day few neighbours also throw the parties. Now it's meshed. Then you think to improvise your life, you take a whole floor for yourself. This is called VPS, next topic.

2.VPS Hosting: Virtual private server - you are still using a shared server but now you have an entirely separate partition for you on that server. This means you get a dedicated space and reserved amount of resources and memory. It will understand by this that now you have your entire one floor in that building with the shared resources. This approach is great for the medium size business with the rapidly growing number of websites and traffic.

Pros:
Specific server space
Traffic surges on other websites have no effect on your performance
Root access to the server
Easy scalability and high customizability
Cons:
More expensive than other types of hosting
Technical and server management knowledge is a must

building_vps.png

Now imagine you rented a whole floor, but still for your parties parking space is limited, common lift, stairs to get into your floor. And some other floor members also have the same parties on their floor. Now things get so messy, the lift, stairs, and parking lot still has limited space. Now you think why not I rent the whole building, then every resource is owned by me. This is called dedicated hosting, next topic.

  1. Dedicated Hosting: In this the server is exclusively rented by you and your website is the only one stored on it. Now you can configure your server as you wish, choose the operating system and software you want to use, and set up the whole hosting environment according to your own needs. In general you can understand in this way that now you are renting the whole building.
    Pros:
    Full control over server configuration
    High reliability and security options
    Root access to your server
    Cons:
    High cost, more oriented towards larger businesses
    Technical and server management knowledge is a must
    Dedicated host fails, single point of failure.
    Cannot increase/decrease the size of resources when needed.

building_dedicated.png

Now you have your own building, you have your own laws, all resources just for you. But now you have more people coming to your parties (in server terms we call it traffic). Few more people are coming and your building resources are now full, now neither you can build up a new floor for them, nor you can rent a whole building for new people, as renting a new building is costly and it will take a time to find, agreements and all that stuff. Renting the whole building for parties, after parties then rent is just going to waste.
Better idea why not do some agreement with someone as when I’ve party I’ll use your space and how much space & time I’ll use I’ll pay instead of renting as full ownership. Does mean you have an elastic feature, you can increase and decrease your server space when needed. This is called Cloud hosting, next topic. When I find someone like this, I guess I don’t need to rent the whole building anymore. Pay as used space & time. Sounds promising, lets learn about cloud hosting more.

  1. Cloud Hosting:
    As we talked about the features, renting resources as per the use case, and paying for used services only, no more resource wastage.
    Pros:
    Elasticity: scale up/down resources when needed
    High reliability: no single point of failures
    Concerned Security
    High availability
    Fault Tolerance
    Pay as per used resources
    Cons:
    Need to understand networking
    Need to manage resources by yourself.
    Have knowledge of the security concerns well.
    Need experts to manage cost management, as accidentally choose the expensive resources, while it won't be useful for your use case.

In the market there are lots of cloud service providers, some of the popular providers are Amazon Web Services (AWS), Microsoft Azure, Google Cloud Platform(GCP), Digital Ocean, Linode, Alibaba cloud etc.

While the major concern is elasticities, scale up and down the resources as per the traffic, we can do it by horizontal & vertical scaling in terms of servers. We will discuss it in some other article.

I hope we covered all the aspects of the server hosting process. Please share your feedbacks:
Divam Technologies
contact@divamtech.com
https://divamtech.com

Discover and read more posts from Divam Technologies
get started
post commentsBe the first to share your opinion
ahmardigital line
3 months ago

Experience a paradigm shift in your marketing strategy with lifetime video hosting, promising unparalleled returns on investment (ROI). By investing in lifetime hosting, you unlock a plethora of benefits that revolutionize the way you engage with your audience. Here you can check best Vimeo alternative here. From seamless video streaming to enhanced security features, lifetime hosting ensures your content is delivered flawlessly, driving higher viewer engagement and retention rates. Bid farewell to recurring subscription fees and embrace a cost-effective, long-term solution that empowers you to allocate resources strategically and maximize your ROI. With lifetime video hosting, you not only elevate the quality of your content but also amplify the impact of your marketing efforts, propelling your brand to new heights of success.

Vovka Yamkowuy
a year ago

A very interesting article, I have long been interested in what hosting is and why it is needed. I read it and now I more or less understand what’s what, although many new questions have appeared, but this is not critical, I’ll figure it out over time.

Show more replies