Hosting is the service that stores your website or app files on a server connected to the internet all the time. Without hosting, no one can access what you created, because the code would stay only on your computer.
Think of it like this: the domain is the address of the house and hosting is the land where the house is built.
How it works
When someone types your site address, the browser finds, via DNS, which server holds the content. That server receives the request and returns pages, images and data.
There are several types of hosting:
- Shared: multiple sites share the same server. It is simple and good for getting started.
- VPS: you have a dedicated slice of a server, with more control.
- Cloud: resources scale with demand.
- Dedicated server: an entire machine just for you.
- Hosting for Node.js, PHP or WordPress: plans tailored for a specific technology.
Plans, resources and terms vary between providers. Compare options on each provider's official pages.
Practical example
A photographer creates a WordPress portfolio. She signs up for a hosting plan, installs WordPress, points the domain to the server and the site goes live.
A developer with a static site can publish the files like this, using their own server with SSH access:
scp -r ./dist [email protected]:/var/www/meusiteAfter that, the web server serves those files to anyone who visits the configured address.
What it's for
Hosting is used to publish websites, online stores, blogs, APIs and applications. It also stores databases, custom domain emails and files that need to be always available.
For businesses, good hosting affects site speed, stability and security. A slow or down site tends to drive customers away.
What to look for when choosing
Check these points before signing up:
- server speed and location;
- automatic backups;
- SSL certificate so the site opens with a padlock;
- support in Portuguese;
- ease of upgrading the plan as the site grows.
If your project is small, start simple and migrate later. If you use specific technologies, like Node.js, confirm the plan supports them.
Alternatives like serverless and Kubernetes also publish applications, with different operating models. Traditional hosting remains the most straightforward path for most websites.