What Is Web Hosting? A Complete Guide for Sri Lankan Businesses & Beginners #
Clear definition #
Web hosting is a service that stores your website’s files (HTML, images, scripts, databases) on an internet-connected server and delivers them to visitors when they open your domain name (for example, yourbusiness.lk). If you only register a domain and do not connect it to hosting, your site will not appear online.
Why web hosting exists #
A website must be available day and night. Hosting providers run server infrastructure that is designed for continuous operation: stable power, cooling, redundant internet, security monitoring, and automated backups. A personal computer at home is not a practical hosting solution because it can switch off, lose connectivity, change IPs, or be exposed to security risks.
How hosting works end-to-end #
When a person in Sri Lanka visits your website, the flow is usually:
- Domain lookup: the visitor types your domain into a browser.
- DNS resolution: DNS converts the domain name to a server IP address.
- Connection: the browser connects to the server using HTTP/HTTPS.
- Server response: the server returns the page and supporting files.
- Rendering: the browser builds the visual page from HTML/CSS/JS.
If DNS points to the wrong place, your site won’t load even if your hosting is working. If hosting is down, DNS may be correct but visitors still see errors.
What a hosting plan typically includes #
- Disk space: storage for website files, databases, and often email.
- Bandwidth: monthly data transfer used when visitors load pages and downloads.
- Control panel: cPanel, Plesk, or DirectAdmin to manage settings.
- Email service: mailboxes like
[email protected](plan-dependent). - Databases: MySQL/MariaDB (common for WordPress and PHP apps).
- SSL support: HTTPS certificates (often Let’s Encrypt).
- Backups: automated or manual backup tools (varies a lot by provider).
Types of web hosting (and what most Sri Lankan users actually need) #
Most websites in Sri Lanka can start with quality shared hosting and upgrade later. Choose based on requirements, not hype.
Shared hosting #
Many websites share one server’s resources. It’s affordable and simple. It is suitable for business brochure sites, portfolios, schools, and many WordPress sites with moderate traffic.
VPS hosting #
A Virtual Private Server is a virtual machine with dedicated CPU/RAM allocations. It is useful for e-commerce, higher traffic sites, or sites needing custom server configuration. VPS usually requires more technical management (or a managed VPS plan).
Dedicated hosting #
You rent an entire physical server. This is rarely needed for typical SME websites. It’s used for high traffic platforms, large portals, or specialized enterprise requirements.
Cloud hosting #
Cloud hosting often provides easier scaling and redundancy. It can be excellent for projects that grow quickly, but it may cost more and still requires correct configuration to be fast and secure.
Sri Lanka context: hosting location, speed, and reliability #
For many Sri Lankan audiences, hosting in Singapore often gives good latency compared to Europe/US. However, speed is not only about location: image optimization, caching, and CDN usage often matter more than moving servers.
Hosting and SEO (what matters, what doesn’t) #
- Matters: uptime, server response time, HTTPS, good caching, stable performance under load.
- Doesn’t matter by itself: “VPS” label, very high disk space, marketing claims about “SEO hosting”.
Great content + good technical performance wins long term.
Beginner checklist #
- Do you already have a domain name?
- Is DNS correctly pointing to your hosting?
- Do you need email (IMAP/SMTP) included?
- Is SSL available and easy to enable?
- Are backups included and how often?
- Where is the server located and what is typical latency?
- How responsive is support?
Related guides #
- Hosting vs Domain Name – What’s the Difference?
- How Websites Actually Work (DNS → Server → Browser)
- Shared vs VPS vs Dedicated Hosting – When to Choose What