
HiringsAI blog
Builds, atomic deploys, CDNs and caching, DNS and domains, TLS, environments, rollback, secrets, deploy logs, scaling, costs, and the launch-day checklist.
Hosting without DevOps means your app lives on a platform that runs the servers for you: you push code or click publish, and the platform builds and serves it.
Hosting without DevOps means your app lives on a platform that runs the servers for you: you push code or click publish, and the platform builds and serves it. What the platform then does for you varies by provider and plan, and the differences matter: on platforms like Netlify, whose deploy documentation this article leans on, each deploy is atomic, a complete version going live at once; many managed platforms serve static content through a CDN, provision and renew TLS certificates automatically, and keep snapshots for one-click rollback, but none of the four is universal, so each gets verified against your own platform, not assumed. The vocabulary shrinks to five ideas. A deploy: on platforms with atomic semantics, one complete, consistent version of your site going live at once, never a half-uploaded mix. A CDN: a network of servers that caches content close to users, per Cloudflare's definition, so distance stops dictating speed for cached content. DNS: the lookup that turns your domain into the platform's address, and the thing you point at the platform once. TLS: the encrypted connection, provisioned and renewed automatically on many managed platforms, verified by the padlock on yours. And rollback: where the platform keeps every deploy as a snapshot, last good version restored in a click, covering the site's content and code, never the database, whose changes need their own reversible migrations. What remains yours: knowing what a build is, reading a deploy log when one fails, pointing a domain, and understanding environments, why what you test on is not what users see until you promote it. None of that is DevOps; all of it is literacy this article installs.
Strip it down: hosting is someone else's computer, on all the time, reachable from the internet, running your app.
Strip it down: hosting is someone else's computer, on all the time, reachable from the internet, running your app. Your laptop qualifies in theory and fails in practice, it sleeps, it moves networks, it was never meant to answer strangers at 3 AM. So the job hires out, and the question becomes how much of the machine you manage. At one extreme you rent a raw virtual machine and own everything on it, operating system, runtime, web server, certificates, restarts, patches: maximum control, maximum ongoing work. At the other, you hand the platform your code and it owns the machine entirely: you never see an operating system, you see a build log and a URL. The middle is where "without DevOps" lives: platforms that take your built app, static files or a server process, and run the machine part for you. Choosing hosting is choosing where on that line your attention goes.
One question shapes the whole hosting story: does each request need code to run, or can the answer be prepared in advance?
One question shapes the whole hosting story: does each request need code to run, or can the answer be prepared in advance? A static site is files, HTML, CSS, JavaScript, images, built once and served identically to everyone: hosting is storage plus distribution, cheap, fast, and hard to break. A server-rendered app runs code per request, pages assembled from the database for this user right now: hosting is a running process, with memory, crashes, restarts, and scaling to manage, or to pay a platform to manage. Many apps are both: static marketing pages beside a dynamic app, and platforms serve the two parts differently. Knowing which of your pages are which tells you what you are actually hosting, and the trend in modern builders is to push everything that can be static into static, because files on a CDN are the closest thing web hosting has to a solved problem.
Between your source and the served site sits the build: install dependencies, compile, bundle, generate pages, optimize assets, produce the deployable output.
Between your source and the served site sits the build: install dependencies, compile, bundle, generate pages, optimize assets, produce the deployable output. When a platform deploys, it runs your build on its machines, and when a deploy fails, the build log is where the reason lives, which is why "read the log" is a core skill, not a consolation prize. Build failures rhyme: a dependency version that resolves differently on the platform than on your machine, an environment variable present locally and missing there, a step that assumes a tool the build image lacks. The habit that keeps builds honest: the build must be reproducible, pinned dependency versions, no steps that only work on your laptop, and the variables documented, because the platform rebuilds from your repository in a clean environment every time, and a build that needs your machine is not a build, it is a ritual.
The old way of publishing was copying files onto a server one by one, and Netlify's deploy documentation explains what goes wrong: each file goes live as it lands, so the new HTML can be live before its supporting scripts and styles arrive, and a dropped connection mid-upload leaves the site broken in a way only you can see.
The old way of publishing was copying files onto a server one by one, and Netlify's deploy documentation explains what goes wrong: each file goes live as it lands, so the new HTML can be live before its supporting scripts and styles arrive, and a dropped connection mid-upload leaves the site broken in a way only you can see. One documented answer is Netlify's atomic deploy, defined strictly in its deploy documentation: instead of pushing individual files, you always create a new deploy, the platform uploads everything, and no change goes live on the public URL until all of it is ready, at which point the new version flips live on the CDN at once. On a platform with these semantics, two properties follow that you will rely on constantly: the published site is never in a half-uploaded state, and every deploy is a complete snapshot, which is what makes rollback a click instead of a reconstruction. Keep the boundary of the promise clear, though. Atomicity governs publishing: a request that arrives after the flip gets the new version. It does not by itself guarantee that every client sees one coherent version. A browser that loaded the old page before the flip keeps running it, and if that old page talks to a backend you also changed, old and new can disagree until the visitor reloads. Netlify documents that gap as version skew and answers it with skew protection, which pins such clients to the deploy they loaded; on platforms without an equivalent, long-lived tabs and aggressive asset caching are yours to think through. Platforms without atomic semantics publish differently, file-by-file uploads still exist, which is why this is a question to ask about your platform, not a property of "the cloud."
Follow one deploy through the machine.
Follow one deploy through the machine. Commit lands; the platform starts a build container; dependencies install from the lockfile, this is why the lockfile matters, it is the recipe's exact measurements; the build runs, producing the output folder; the platform fingerprints the files, compares them to the current deploy, and uploads only what changed; the new deploy waits, complete, in the wings; the edge network's pointer flips to it; the old deploy is kept, whole, as the snapshot rollback will want. Total live inconsistency: none, because the flip is one atomic act. Total time: minutes, mostly the build. When you watch this once in a dashboard with understanding instead of hope, every later deploy stops being weather and starts being a process you can read.
Physical distance is load time: a request crossing an ocean and back pays that round trip for the page and again for every asset.
Physical distance is load time: a request crossing an ocean and back pays that round trip for the page and again for every asset. A content delivery network answers geography with copies, Cloudflare's definition: a network of servers distributed across locations that caches content close to end users, so the HTML, JavaScript, stylesheets, images, and videos come from somewhere nearby. Cloudflare adds two facts that recalibrate intuition: the majority of web traffic is served through CDNs today, this is the normal way the web works, not an enterprise luxury; and a properly configured CDN helps absorb some common attacks, because a flood of junk traffic gets soaked up by a global network rather than your one server. The practical notes: static assets are cacheable by nature, which is why the static fork from the last section is so cheap to serve; dynamic responses can be cached too, per rules you set, but personalization and caching are natural enemies, the cache serves everyone the same thing; and caching introduces the one question you will ask a hundred times, is this old because the deploy failed, or because the cache has not expired yet.
The cache question deserves its working mechanics.
The cache question deserves its working mechanics. Every cached object carries a lifetime: serve this copy until it expires, then fetch fresh. Two levers follow. TTLs, how long copies live: long for fingerprinted assets, app.a1b2c3.js can cache for a year because a change makes a new filename, short for HTML, which keeps its name across deploys. And purging: telling the network to drop copies now, the button you press when a fix must be visible immediately and waiting is not acceptable. The debugging habit: when a change is live in the deploy but old on the screen, check the browser first, hard refresh, then the CDN, purge or wait, then the deploy itself, did the flip actually happen. Three caches, three checks, in that order, and the stale page stops being a haunting.
Your domain is a name; the platform is servers; DNS is the lookup between them.
Your domain is a name; the platform is servers; DNS is the lookup between them. MDN's walkthrough of a DNS request shows the shape: type the domain, the browser asks whether the name is already known locally, and if not, the question goes out through a chain of DNS servers until an authoritative server answers with the address. Connecting your domain to hosted app means creating records that point the name at the platform, and then waiting through the piece nobody enjoys: MDN notes that DNS servers store what they know for a time before it is invalidated and refreshed, so a change you made correctly can look broken from a network that still holds yesterday's answer. That propagation delay is caching doing its job, and it explains the oldest advice in deployment: make DNS changes before you need them, and do not debug a fresh record from one impatient device.
The padlock in the address bar means the connection is encrypted and the server proved it controls the domain, via a certificate issued by a certificate authority that browsers trust.
The padlock in the address bar means the connection is encrypted and the server proved it controls the domain, via a certificate issued by a certificate authority that browsers trust. Many managed platforms provision and renew certificates automatically, proving control of the domain on your behalf once DNS points at them, but this is a platform feature to verify, not a law: on a setup without it, certificates are your task, and renewal is your calendar entry. Either way the habits shrink to two, always serve HTTPS, redirect the plain version, and never let a certificate lapse, a lapsed certificate is a loud, scary browser warning in front of every visitor. Certificates also interact with DNS: the platform can only prove control once the domain points at it, which is why the order of operations on launch day is point the domain, then issue the certificate, then test the padlock, in that order.
Where the platform keeps every deploy as a snapshot, rollback is restoration, not repair: pick the last good deploy, repoint production at it, and the site is back while you figure out what broke.
Where the platform keeps every deploy as a snapshot, rollback is restoration, not repair: pick the last good deploy, repoint production at it, and the site is back while you figure out what broke. Know what the snapshot covers: the site's files, code, and the content the CDN caches. It does not cover dynamic state, the database, third-party records, anything written after the deploy, which is why rolling back the site after a data-changing release can strand the new data shape against the old code. The habits that make rollback real instead of theoretical: know where the button is before you need it, at 9 AM on a Tuesday, not during the incident; keep deploys small and describable, "the pricing page change" rolls back cleanly, "forty things at once" does not tell you what you are un-shipping; and remember what rollback does not undo, database migrations and third-party state live outside the site snapshot, which is why the database article insists migrations be reversible in their own right. Rollback covers the site; it does not rewind the world. If your platform does not keep snapshots, rollback is a redeploy of the previous version from your repository, still fast, but only if the build is reproducible.
The deploy failed; the log is long; the skill is knowing what to look for.
The deploy failed; the log is long; the skill is knowing what to look for. Read from the bottom up: the actual error is near the end, everything above is context. Classify what you find into the usual families: a dependency failure, a package could not install or resolve; a build error, the compiler or bundler rejected the code, with a file and line; an environment failure, a variable or secret the code needs is missing on the platform; a resource failure, out of memory or time during build. Each family has its own move, pin or fix the dependency, fix the code at the named line, set the variable, raise the limit or slim the step. And one meta-rule: when the AI offers to fix a failed deploy, hand it the error lines, not the whole log and not your summary of them, because the exact message is the evidence everything else is commentary on.
Three small decisions that look bigger than they are.
Three small decisions that look bigger than they are. Apex versus www: the bare domain, example.com, versus www.example.com, both should work, one should redirect to the other, and platforms differ in which they prefer for technical DNS reasons, follow the platform's recommendation rather than ideology. Subdomains: app.example.com for the product, blog on the main site or its own subdomain, each subdomain is its own DNS record and often its own deployment, which is a feature, it lets the marketing site and the app move independently. And redirects: old URLs to new ones, configured at the platform so they cost no app code, because bookmarks and search results outlive your information architecture. None of this needs DevOps; all of it needs the ten minutes it takes to set once.
The bill decomposes into a few meters, and knowing them makes pricing pages legible.
The bill decomposes into a few meters, and knowing them makes pricing pages legible. Bandwidth: bytes served, the CDN's work, usually the largest meter for content-heavy sites. Compute: function or server execution time, the dynamic work. Builds: minutes spent building your deploys. Seats and projects: the team and count dimensions. And the free tiers: real and useful for prototypes and small sites, with limits you should know before launch rather than after. The structural insight: static-heavy apps cost little because files on a CDN are cheap, so architecture choices are cost choices, every page that can be static is a page off the compute meter. Watch usage monthly in the early days, not from anxiety but from calibration, so the first traffic spike reads as a success with a price tag, not a mystery bill.
Everything in this article compresses into one ordered run.
Everything in this article compresses into one ordered run. Build green on the platform, not just on your machine. Preview deploy tested, links, forms, the phone. DNS pointed, propagation given its hours, not rushed. Certificate issued, padlock verified, HTTP redirecting to HTTPS. Production promoted from the tested preview, not rebuilt from hope. The smoke pass on the live URL: homepage, one form, one dynamic page, on a real phone over cellular, not office Wi-Fi. Rollback located and mentally rehearsed. Analytics or at least request logs visible, so the first day has witnesses. And the calendar: a reminder in a week to look again, because launch-day attention decays faster than launch-day bugs. Ten items, no DevOps degree, and every one of them is a thing you now know the reason for.
Cloudflare's CDN explainer lists reliability beside speed as a core benefit, and the mechanism is worth a sentence: content cached across many locations keeps answering when any one location fails, redundancy as a side effect of distribution.
Cloudflare's CDN explainer lists reliability beside speed as a core benefit, and the mechanism is worth a sentence: content cached across many locations keeps answering when any one location fails, redundancy as a side effect of distribution. Your app's dynamic parts are a different story: whether the platform runs multiple instances of them, across how many zones, is a plan-and-provider detail to check, not a given, and a single-instance app does not survive its instance. What remains yours is knowing where to look when someone says the site is down: the platform's public status page first, is this them or you; your uptime monitor second, is it everywhere or one network; and the deploy list third, did anything just ship. That order, them, everywhere, us, turns an incident from panic into a checklist, and in small apps the resolution often sits at the third step with a rollback.
The good problem has a shape worth understanding before it arrives.
The good problem has a shape worth understanding before it arrives. Static assets scale almost for free, that is the CDN doing its job, ten visitors and ten thousand get the same files from nearby copies. Dynamic work scales with compute, and platforms either scale it automatically, more instances as requests arrive, within plan limits, or they queue and slow, which is when you learn your plan's shape. The real bottlenecks on spike day are rarely the CDN: they are the database's connections and the third-party APIs your app calls per request, both of which have ceilings. The preparation that matters: know the ceilings, keep per-request work small, and cache what is cacheable, because the cheapest request is the one your servers never see.
Preview environments change how you work, not just how you ship.
Preview environments change how you work, not just how you ship. Every branch gets a URL: the AI's redesign lives at a link you can open on your phone before it touches production, and "look at this" becomes a URL instead of a screenshot or a meeting. The workflow this enables: generate in a branch, open the preview, tap through the change on a real device, then promote. It also disciplines the AI loop, each generation gets its own preview, so comparing two attempts is two tabs, not two rebuilds of the same slot. When a platform offers branch deploys, the review habit from the walkthrough article, test on the phone before publish, stops being a virtue and starts being the path of least resistance.
The pairs that blur in hosting conversations.
The pairs that blur in hosting conversations. Hosting versus CDN: the host runs or stores your app; the CDN distributes copies near users; modern platforms bundle both, which is why the words blend, Cloudflare's own explainer takes a section to separate them. Deploy versus build: the build produces the output, the deploy publishes it; a green build can still fail to publish, and the log says which stage stopped. DNS versus hosting: the registrar sells the name, the host serves the app, DNS records connect them, three companies can hold the three jobs. Environment variable versus secret: the mechanism is the same; a secret is a variable you protect, and the protection is never letting it reach code, logs, or the browser. And propagation versus caching: DNS propagation is resolvers expiring old answers; CDN caching is edge servers expiring old content; both are "wait or purge," but you purge the CDN and only wait for DNS.
Ignore the feature matrixes until these are answered.
Ignore the feature matrixes until these are answered. Does it run your app's shape, static, server, both, or are you bending the app to fit? What do deploys look like, git push, AI-builder publish button, dashboard upload, and are they atomic snapshots with one-click rollback? Where does it run relative to your users and your database? What are the meters, and what does your realistic month cost, not the landing-page month? What happens when you outgrow it, export, standard runtimes, or a rebuild? And the quiet one: how good is the log when the deploy fails, because that log, not the features page, is what you will actually live with. Your builder's default platform answers most of these for you; knowing the questions lets you check the answers instead of inheriting them blindly.
Run the whole arc once, end to end.
Run the whole arc once, end to end. The builder exports your app as a repository; you connect the repository to the platform, which detects the framework and proposes a build command, verify it matches what the builder's docs say, because the wrong command builds nothing or builds the wrong folder. First deploy runs the build on the platform's machines: green, and the app is live at a generated platform URL, which you test properly, phone, cellular, one form. Now the domain: at the registrar, the DNS records the platform's dashboard asks for get created; propagation takes its hours; the platform proves control and issues the certificate; the padlock appears. You flip the custom domain to primary, the platform URL redirects, and launch-day checklist item by item: preview promoted, smoke pass done, rollback button located. Total DevOps performed: none. Total literacy used: this entire article.
Why does the CDN matter so much?
Why does the CDN matter so much? Run the mental numbers. A network round trip across a continent or an ocean costs tens to a couple of hundred milliseconds, physics plus routing, and a page load is not one round trip but a chain: DNS, connection, TLS handshake, the HTML, then every script, style, font, and image it names. Uncached and distant, those round trips stack into seconds; cached nearby, the same page assembles in a fraction. This is also why the platform's region choice matters for dynamic work: your app server's every database query is a round trip too, and a server in one region querying a database in another pays the ocean tax per query, per page, per user. Geography is a performance budget measured in distance, and the CDN and the region choice are the two levers that spend it well.
Launch day ends; the first week is when the real app introduces itself.
Launch day ends; the first week is when the real app introduces itself. Watch the meters, bandwidth, compute, errors, daily, not from fear but to learn the app's baseline, the shape of normal that every later anomaly will be measured against. Read the first real error reports and fix the top one, because the long tail can wait and the top one cannot. Check the backups exist and the rollback still points somewhere sane. Answer the first user emails fast, they are the best bug reports you will ever get, written by people who wanted the thing to work. And resist the second launch: the week-one urge to ship everything the launch cut is how stable apps become unstable; let the baseline form, then change one thing at a time, with a preview and a rollback behind each.
The terms pinned to their ideas.
The terms pinned to their ideas. Hosting: someone else's always-on computer running your app. Static: pages prepared in advance, served as files. Server-rendered: pages computed per request. Build: source to deployable output, on the platform's machines. Deploy: one version going live; atomic when it goes live all at once. Snapshot: a deploy kept whole, which is what makes rollback a click. CDN: a network caching your content near users. DNS: the lookup from name to address, cached at every resolver. Registrar: where you rent the domain. TLS certificate: the proof that encrypts the connection and validates the domain. Environment: a parallel version of the app with its own config. Preview: a throwaway environment for a branch. Rollback: production repointed at an older snapshot. Propagation: DNS caches expiring, measured in minutes to hours.
Not for the class of apps builders produce: platforms run the machines, and your interfaces are the repository, the dashboard, and the logs.
Not for the class of apps builders produce: platforms run the machines, and your interfaces are the repository, the dashboard, and the logs. The day you need a persistent custom process, an unusual runtime, or hardware-level control, you will know precisely why, and that specificity is the sign the platform era of the project is ending, before that, a terminal into a server is a place to break things, not a need.
Because they are different environments: the preview is a separate deployment, and production only changes when you promote. If the URLs genuinely match and it is still stale, the suspects are the two caches: the CDN holding the old content, purge or wait, and your own browser, hard-refresh before concluding anything.
For a new app's first real users, often yes, and the honest answer is in the meters: know the bandwidth, compute, and build limits, set any usage alerts the platform offers, and have the upgrade path priced before the traffic arrives. Free tiers end in throttling or a bill depending on the platform; knowing which one yours does is the whole question.
404: the server is fine, but nothing lives at that URL, a routing or content problem. 500: something lives there and it crashed, a code or configuration problem, and the function or error logs name it. The distinction routes your debugging: 404 says check the paths, 500 says check the logs.
Layers of the same stack. The builder's publish usually drives a platform underneath, its own or a partner's, doing the build-deploy-CDN work this article describes. Knowing the layer matters when something breaks: the builder's support owns the button, the platform's status page owns the machinery, and the deploy log, wherever it lives, owns the truth.
They can share a domain and even a deploy, but they change at different speeds and fail in different ways: the marketing site wants to be static and nearly unbreakable, the app wants iteration. Separate deployments joined by the domain's routing give each its own blast radius, which is why so many products run www and app as siblings rather than roommates.
As often as changes are ready and tested; small frequent deploys are safer than rare big ones, because each deploy is a small, describable, individually reversible step. The cadence to avoid is the anxious one, redeploying to see if it fixes something, which is debugging by superstition: read the log, find the cause, then deploy.
Platforms fail too; the question is what your plan is. For most small apps the plan is acceptance plus communication, the status page and a calm message, because engineering around a hosting provider's outage costs more than the outage. The insurance that is cheap: your code and content in a repository you control, and your domain at a registrar independent of the host, so rebuilding elsewhere is a bad day, not a lost business.
Platform behaviors described generally vary by provider; the checklists and judgment calls are editorial, verify against the current documentation of the platform you use.
Platform behaviors described generally vary by provider; the checklists and judgment calls are editorial, verify against the current documentation of the platform you use.

Long-form guides on building, automating and AI computing.