Managed website hosting for custom-coded sites, set up layer by layer
Most hosting trouble starts outside the server: a DNS edit that takes email down, a certificate that can't renew, a second proxy fighting the host's own cache. Managed hosting sets up each layer around the site on purpose and keeps watch over the parts that expire.
Updated
What it is
Managed website hosting is hosting in which the provider sets up and looks after every layer a site runs on, not only the server: DNS, the content delivery network and firewall, certificates, deploys, backups and monitoring. With plain hosting you rent the infrastructure and configure everything else yourself; with managed hosting, configuring and watching those layers is the service.
When it makes sense, and when it doesn't
When it makes sense
- Your custom site runs on a server someone set up years ago, and nobody remembers how to deploy to it.
- The site runs on a free hosting plan meant for personal projects.
- The last DNS change took your email down for a day.
- Bots, scrapers or form spam are using up bandwidth and burying the real leads.
When it doesn't
- Your site is on Wix or Squarespace. These builders run sites only on their own servers, so hosting is part of the builder's subscription and there's nothing to move.
- You need hosting for a web app or the back end of a mobile app. Hosting for either is planned with the build, as part of web app development or mobile app development.
How we run it
Pick the host for what the site runs
Most custom-coded sites run on Vercel, which serves pre-rendered pages from its CDN and runs the rest as functions. A back end that has to run continuously, or one that already lives in AWS, goes on AWS instead.
Leave Cloudflare's proxy off in front of Vercel
Cloudflare holds the DNS. For a site on Vercel the records stay DNS-only, with Cloudflare's proxy switched off: Vercel recommends connecting directly, its Bot Protection doesn't work behind another proxy, and a Vercel deploy doesn't clear an outside cache. Cloudflare's caching and firewall go in front only of sites hosted elsewhere.
Write firewall rules from the traffic the site gets
Vercel's DDoS mitigation runs on every plan without setup. On top of it, custom firewall rules handle what this site attracts: a rate limit on the form endpoint, and blocks on paths that scanners probe, such as WordPress login URLs on a site that has none. Each new rule runs in log-only mode first, so it is seen catching the right requests before it blocks anything.
Check what can stop a certificate renewing
Vercel issues Let's Encrypt certificates and renews them 14 to 30 days before they expire, but renewal fails when a CAA record doesn't authorize Let's Encrypt or a proxy blocks the validation request. Both are checked at setup. Certificate renewal and domain registration are separate, so each gets its own expiry alert.
Monitor from outside the host
A host's status page reports on the host, not on your site. UptimeRobot requests the homepage and key pages from outside and re-checks a failure from a different data center before it raises an alert, and a keyword check catches an error page served with a normal status code.
The layers a hosted site runs on
From the domain at the top to the alert at the bottom.
DNS
- Cloudflare DNS
- A, CNAME, MX and TXT records
- CAA records
The records that send visitors to the host and the ones email depends on, kept in one zone, with each change and its reason noted.
CDN and firewall
- Vercel's CDN and firewall, for sites on Vercel
- Cloudflare, for sites hosted elsewhere
One CDN per site, never two stacked.
Application hosting
- Vercel
- AWS
Data and file storage
- CMS content
- Uploaded files
- A database, where the site has one
Held outside the deployment, so a new release never overwrites what editors and visitors created.
Backups
- Scheduled content exports
- File and database copies
- A copy of the DNS zone
Each one restored on a schedule to prove it works.
Monitoring and alerts
- UptimeRobot checks
- The host's error logs
- Firewall alerts
Tools used
Vercel
Its CDN, functions and firewall, with custom rules per site
AWS
Always-on servers, or a back end already running in AWS
Cloudflare
DNS-only records for Vercel sites; proxy and caching for the rest
UptimeRobot
Keyword monitors, plus expiry alerts for the certificate and the domain
Frequently asked questions
Can a business website be hosted on Vercel's free plan?
No. Vercel's fair use guidelines restrict the Hobby plan to personal, non-commercial use, so a site that sells or brings in leads belongs on Pro or Enterprise. The paid plans also add what a business site uses: more firewall rules and IP blocks, rollback to any earlier production deployment rather than only the last one, and runtime logs kept for a day instead of an hour.
What happens when my website goes down?
Once the alert fires, the cause is traced. A bad release is rolled back to the last good deployment; a fault at the host or in DNS is taken up with that provider; an expired certificate or domain shows in the alert itself. Each outage then leads to a change aimed at its cause, such as a test that would have caught the bad release.
Will moving my website to a new host affect my email?
It shouldn't, as long as the DNS moves record by record. Email depends on MX records and on the TXT and CNAME records behind SPF, DKIM and DMARC, which usually sit in the same zone as the website's records. Moving the zone without them, or switching nameservers before they are copied, is the usual way a host move breaks email. Every record is listed and compared before and after the switch.
What is a CDN, and does my website need one?
A content delivery network keeps copies of a site's files on servers in many cities and answers each visitor from a nearby one, so pages arrive sooner and the origin server handles far less traffic. A site on Vercel already sits on Vercel's CDN. A site served from a single server gains the most from putting a CDN such as Cloudflare in front of it.