A portfolio site that loads in under a second costs about the same as two takeout dinners a month. That sentence alone explains why the hosting conversation has shifted so far from where it sat a decade ago. The old tradeoff, where cheap hosting meant a shared box that buckled under a traffic spike, has mostly collapsed. What replaced it is a messier landscape of static hosts, container platforms, and the stubborn survivors of traditional shared hosting, each with a different idea of what a side project actually is.
The right choice depends on a question most hosting roundups skip: what happens in month seven, when the project is finished, half-forgotten, and still costing money.
Static files on a global edge network
For a portfolio that is mostly HTML, CSS, a little JavaScript, and a folder of images, the static host is the obvious first stop. Netlify, Vercel, and Cloudflare Pages all take a Git repository, build it, and push the output to servers scattered across the world. The physics work out: a visitor in Singapore pulls the page from a data center in Singapore, and the browser paints it before the coffee finishes brewing.
The free tiers are genuinely usable. Cloudflare Pages gives unlimited requests and bandwidth on the free plan, which is a strange and generous thing to offer. Netlify's free tier includes 100 GB of bandwidth a month, enough for a portfolio that gets a few thousand visitors. Vercel's hobby plan is similar, though its terms steer commercial use toward paid plans. A person building a site to show at job interviews will not hit these ceilings.
The catch is the build step. These platforms want the project in a Git repository, with a build command and an output directory configured. A designer who edits raw HTML files in a text editor and drags them onto a server will find the workflow foreign at first. It takes an afternoon to learn. After that, every push deploys automatically, and every pull request gets its own preview URL, which is a small luxury that spoils a person quickly.
GitHub Pages and the zero-configuration floor
GitHub Pages remains the lowest-friction option on the planet for a static site. Create a repository, push files, enable Pages in settings, and the site is live at a github.io address within a minute. Custom domains are supported, HTTPS is automatic, and the price is zero with no bandwidth meter to watch.
The limitations are real but narrow. Pages only serves static content, so no server-side code, no database queries at request time. Builds run through GitHub Actions, which means a Jekyll or Hugo site works fine but the build can be slow on the free tier. A strange quirk: the free tier has a soft limit of 1 GB for the published site and a recommendation against using it for commercial e-commerce. For a portfolio or a small side project, neither matters.
There is something appealing about a host that asks for nothing and delivers a fast site. The trade is control. GitHub Pages does not offer server logs, so analytics require an external script, and the CDN behavior is fixed. For a project that will never need more, that trade is a bargain.
When the project needs a database
A side project stops being static the moment it stores something. A bookmarking tool, a small app with user accounts, a site that accepts form submissions and keeps them: these need a runtime and a database. This is where the hosting landscape gets genuinely interesting and genuinely more expensive.
Railway and Render both offer a modern take on the old platform-as-a-service idea. Connect a repository, and the platform detects the language, builds the app, and runs it in a container. Add a Postgres database with a few clicks. Render's free tier spins down web services after inactivity, which means the first request after a quiet night takes thirty seconds to wake the app. For a portfolio tool nobody uses at 3 a.m., that is tolerable. For anything that needs to feel instant, the paid tier starts around seven dollars a month.
Fly.io takes a different approach, running small virtual machines close to users in regions the developer picks. The pricing is usage-based and can be startlingly cheap for a low-traffic app, but the mental model is closer to managing servers than to a managed platform. A developer who enjoys understanding the machine underneath will like it. A developer who wants the machine to disappear will not.
The persistent pull of a five-dollar VPS
DigitalOcean, Linode, and Vultr will rent a small virtual private server for five or six dollars a month. The specs are modest, often one or two gigabytes of RAM and a single core, but that is enough to run a small web app, a database, and a reverse proxy if the app is not greedy.
The appeal is total control and a flat bill. The cost is that the server is the developer's problem. Security patches, firewall rules, backups, TLS certificate renewal, and the slow creep of disk usage all land on the person who rented the box. A portfolio site on a VPS is like keeping a car for a commute that could be walked: possible, occasionally satisfying, and more maintenance than the trip requires.
There is one scenario where the VPS wins cleanly: a project that needs a long-running background process, a cron job that scrapes something every hour, or a persistent WebSocket connection. Platform hosts can do these things, but the VPS makes them obvious. The flat five dollars also means no surprise bill after a traffic spike, which matters for a project that might get linked from a popular newsletter.
The shared hosting that refuses to die
Traditional shared hosts like DreamHost, HostGator, and Bluehost still sell the old package: a control panel, a MySQL database, PHP, and email, all for a few dollars a month. The pitch is that everything comes included and nothing needs configuring.
For a portfolio built on WordPress, which still powers a large share of the web, shared hosting remains the path of least resistance. The one-click installer, the plugin ecosystem, and the theme marketplace mean a site can exist without touching a terminal. The cost is performance and the company a site keeps. Shared servers put many sites on one machine, and a neighbor's traffic spike can slow everything down. The cheap introductory prices also tend to jump after the first year, sometimes tripling, which is worth reading in the fine print before signing up.
A portfolio on shared hosting is not a mistake. It is a choice to trade speed and isolation for familiarity and included email. For a photographer who wants a WordPress site with a gallery plugin and does not want to learn Git, that trade makes sense.
The domain is the only part that should never move
One decision outlasts all the others. The domain name is the address people bookmark, the thing printed on a business card, the string that appears in a résumé. Hosting can change in an afternoon; a domain migration means broken links and a slow loss of whatever search ranking the site earned.
Register the domain at a registrar that is not the host. Cloudflare Registrar sells at wholesale cost with no upsells. Namecheap and Porkbun are reliable and cheap. Keeping the domain separate means moving hosts later is a matter of changing DNS records, not negotiating with a company that controls both the address and the server. The separation costs nothing and buys freedom.
A cost check for a project nobody visits
Side projects have a lifecycle. They launch with enthusiasm, get a few visitors, and then settle into a quiet existence where the only regular traffic is the owner checking that the site still loads. The hosting bill keeps arriving.
This is the strongest argument for the static hosts on a free tier. A portfolio on Cloudflare Pages or GitHub Pages costs zero dollars and zero attention. It does not spin down, does not need patching, and does not send a monthly invoice. The project can sit untouched for a year and the site still loads in milliseconds. For a person with five half-finished projects, this matters more than any performance metric.
The platforms with paid tiers deserve a harder look at the monthly line. A Render service at seven dollars and a database at seven more is fourteen dollars a month, or about a hundred and seventy a year, for a project that might be a learning exercise. That is fine if the project earns something or teaches something valuable. It is a slow leak if it does neither.
What the first deploy actually feels like
There is a specific satisfaction in watching a first deploy finish. A terminal prints a few lines, a green checkmark appears, and a URL resolves to something that did not exist a minute earlier. The static hosts deliver this experience fastest. A repository, a build command, a click, and the site is live on a global network. The first time it happens, the impulse is to refresh the page just to confirm it is real.
The setup that produces that moment most reliably for a portfolio is a static host with a Git workflow and a domain registered elsewhere. It costs nothing to start, scales to thousands of visitors without a thought, and requires no maintenance in the quiet months. The projects that outgrow it will announce themselves: a database error, a need for a background job, a form that must store something. When that happens, the move to a platform host or a VPS is a decision made with evidence, not a guess made at the start.
Start with the free host. Keep the domain separate. Let the project prove it needs more before paying for it.
