A Web Hosting is a kind of Internet hosting service that allows individuals and organizations to make their website accessible via the World Wide Web.
Web hosts are companies that provide space on a server owned or leased for use by clients typically a data center.
Web hosting is like a house. Most people rent house or room to stay.
Same way, we put our website content on one of the hosting providers.
WEBSITE is everything in your house.
Furniture, interior design. Visitors might leave your house if it’s stinky and ugly in this case we can say a badly designed website.
Visitors are the people who visit your house or clients who visit our website.
How did they find your house by the way?
DOMAIN NAME is like a street address.
You need to register one so that people can find you.
For example, http://code-brew.com/
WEB BROWSER is like a car.
You enter the domain name and the car will get you to the right house, i.e. website. Just like cars, some browsers are fast (Chrome) and some are really slow (Internet Explorer).
Types of web hosting:
Shared hosting
Shared hosting is the most popular hosting solution that can suit even the tightest budget. But using a shared hosting solution also means that the user has to share the server resources with other users. If your website is hosted on a shared hosting server, all your data and the application you are using will be hosted with the applications of all other users on one and the same server. Your website will share the same server resources as all other websites on the server such as CPU, Memory, disc space, bandwidth etc. The servers running shared hosting accounts are almost always fully loaded. If one website overloads the server, all users will suffer from low speed or downtime.
Shared Hosting plans bring along with it a lot of benefits. Among these benefits are the following:
- Shared hosting plans comes much cheaper compared to dedicated hosting and VPS which means that even websites for personal blogging and small businesses can afford it. Shared hosting plan prices are usually offered with prices ranging from $3 to $10 per month.
- The administration and maintenance of the server is taken care by the hosting provider which means that you don’t need to concern yourself with technical issues of the server.
- You don’t need to posses any special knowledge in website and server administration as the hosting provider takes care of the administration chores.
- You get MySQL and PHP support.
- Although a number of websites share the same resources, most shared hosting plans provides for a round the clock supervision, maintenance and technical support that gives you up-time reliability almost comparable to dedicated plans.
Dedicated hosting
Dedicated server as the name suggests is the server which is exceptionally meant for one single organization – it essentially means that the server is your own and you are not sharing it with any other resources. Dedicated servers are (a lot) more expensive but are usually more powerful. Dedicated Hosting provides greater reliability, flexibility, scalability, and incredible performance, while giving unprecedented flexibility and elasticity.
Virtual hosting
Virtual private server hosting is one of several types of web hosting techniques. A Virtual Private Server is a great option for all small scale companies. It is one of the web hosting techniques that bridge the gap between a dedicated server and a shared hosting server. Dedicated servers function exclusively for any given business and such resources are generally shared by multiple users. Deploy our managed dedicated server solution in your business and watch your website perform at its peak. The virtual server allows multiple server to function as one physical server.
Cloud hosting
In cloud hosting the app/website is hosted on several servers connected to work as one. You don’t depend on only one machine – even if one machine is broken, the others will backup its data and processes e.g. Amazon Web Services, is often hosting what to the customer seems like a full server without ever dealing with any of the hardware.
One potential upside is that if cloud-based resources require additional scalability or performance, that capability is designed-in. If a website/app goes from 100 customers per hour to 10,000 per hour, the cloud is a perfect way to scale without unnecessary impact.
Another potential upside is the risk reduction that comes from not having computing resources where a localized disaster can impact them.
A potential downside is that because those resources are not local, accessing the resources depends greatly on connectivity, and managing, controlling and securing them depends greatly on the cloud provider and that provider’s safeguards, agreements, skills, experience, knowledge, and capabilities.
Now the question is which one you should have as your backend??
Well it all depends on 3 factors
- Traffic the site/app expects.
- What type of security do you want in context of data?
- Data complexity.
If the app expects huge traffic then it should opt for cloud hosting, if normal traffic then it could go for shared if tight on budget. It also depends whether the person want to keep the data for a limited use then it should opt for dedicated hosting. If the app consists of real time transactions like Facebook then it need to opt for cloud hosting, if it does not involve complex data transmission then it could opt for shared or dedicated hosting.