Hosting types
Shared hosting – many websites share the same os with same general settings
You get allocated a maximum usage - but the resources are not guaranteed - if one account uses all his allocated resources the others suffer
- easy to get started with, comes with some web admin panel like cpanel so no administration knowledge required
VPS hosting (Virtual Private Server) – independent os - can be customised as you like.
You can get it either managed by the hosting or unmanaged - where you have to take care of everything.
Resource can be shared just like a shared hosting for prices around 10$ or dedicated from 25-30$.
On shared you get a minimum of like 0.5 virtual cpu and a maximum of 2vcpu for example - but they will list the package as 2cpu.
Whenever you dont use all your 2vcpu other account hosted on the same physical machine will use them - which can get you to a place where you can ony use 0.5 vcpu because the rest are busy for the moment.
Dedicated server – you are given a full physical machine just for yourself - might be usefull for special dedicated hardware needs. It is almost identical to a dedicated resources VPS.
Cloud Hosting same as the others but the virtual os is run on multiple physical machines instead on a single one. Has the advange that are highly scallable.
SQL cloud vs VPS SQL
SQL cloud - you dont have to install and update your DB but it is more expensive
CDNs - Content Delivery Networks
- free DNS server with instant propagation
- free SSL/TSL CA certificate
- CDN - cache servers - saves BANDWITH and offers faster response time
It is a distributed network of servers that are situated physically all over the world that cache your content from an origin location where your website is hosted.
The closer the server delivering the files is to the end user the faster the loading will be.
It is especially useful when you serve a lot if static resources like images.
Tools
Uptime – uptime monitor your hosting servers –
Uptime RobotFree VPN – to check how the site behaves from different locations –
Tunnel bearLoad impact testing – test and know your hosting server limits –
k6Wayback Machine – useful for checking old domains or even for restoring your website in case of an emergency –
https://archive.org/web/