Verificar quantos agentes estão a trabalhar

Como isto funciona
Contacto
▤ Category

Web stack & self-hosting

Posts in this category: 30

← Todos os artigos

How a blog post travels from a text file to a web page

How our websites work · 19 de 20 Iniciante

Every post on amarbaro.com starts as a text file with a block of fields. The import checks nine required fields, seeds one row, and from then on the row is what the site serves.

Empilhamento web e alojamento próprio5 min leituras

File permissions: who may read and write what

How our websites work · 17 de 20 Iniciante

A rehearsal would have changed the owner of live production files, and a read only mount made the container crash. Both came from file ownership. Here is the plain version of how permissions work.

Empilhamento web e alojamento próprio5 min leituras

One template for many sites: why our sites look related

How our websites work · 16 de 20 Iniciante

Our sites share one template with one config file per brand. A rehearsal of one template update walked 378 pages and all 378 answered 200. The price of sharing is that a mistake travels as fast as a fix.

Empilhamento web e alojamento próprio5 min leituras

Paysipa: how a hosted checkout page works

Our sites, a visitor's guide · 17 de 20 Iniciante

One request makes a payment page, the customer pays on it, and a signed message tells the shop the result. This guide explains each step, why a signature and a retry matter, and what our own shop test proved and did not prove.

Empilhamento web e alojamento próprio5 min leituras

One site in many languages: how translations work here

How our websites work · 15 de 20 Iniciante

amarbaro.com lists eight languages with English as the source. Translations come from catalog files per language and from a machine pass followed by an edit, and each file says which stage it is at.

Empilhamento web e alojamento próprio5 min leituras

Counting visitors without tracking them

How our websites work · 14 de 20 Iniciante

Our own server keeps a short request log that is purged on a timer, 30 days by default. It tells us what was asked for, without a script that follows you around the web.

Empilhamento web e alojamento próprio5 min leituras

Cookie banners and consent, explained

How our websites work · 13 de 20 Iniciante

A cookie is a small note a site asks your browser to keep. Our walk over 1,301 pages first failed 1,003 of them on cookies alone, and the lesson was about checks that cannot tell a harmless difference from a harmful one.

Empilhamento web e alojamento próprio5 min leituras

Smaller pictures, faster pages: what AVIF does

How our websites work · 12 de 20 Iniciante

84 article pictures went from 126 MB of PNG to AVIF files that average 36 KB at 960 pixels wide. A phone gets a 14 KB version. We also show the honest numbers at full width.

Empilhamento web e alojamento próprio5 min leituras

Booking a computer repair online, step by step

Our sites, a visitor's guide · 12 de 20 Iniciante

Six steps from the first drop-down to collecting your device, with the German words you will meet on the way. The key moment is step four, when you approve the written estimate, line by line.

Empilhamento web e alojamento próprio5 min leituras

Caching: why a page loads faster the second time

How our websites work · 11 de 20 Iniciante

A browser or a CDN keeps copies of files. On gllm.forum, a four hour copy of a stylesheet made our layout fix invisible, and the same trap had already caught another of our sites a week earlier.

Empilhamento web e alojamento próprio5 min leituras

knullfix.de: PC repair with a written quote first

Our sites, a visitor's guide · 11 de 20 Iniciante

Pick a device and a symptom, see a price range before you give any details, get a ticket number, and approve the written estimate before any repair. This guide explains the idea and walks through the German site.

Empilhamento web e alojamento próprio5 min leituras

How we know a site is really up

How our websites work · 10 de 20 Iniciante

After a reboot our check passed 37 of 37, covering containers, the Cloudflare tunnel, fourteen public routes and the analytics path. A running container alone would have proved far less.

Empilhamento web e alojamento próprio5 min leituras

doar.bio: everyday articles about good choices

Our sites, a visitor's guide · 10 de 20 Iniciante

About 120 articles, each listing the studies behind it, and pictures that carry a visible AI-generated notice. This guide explains the site for people who do not read Romanian yet, and how to read an article critically.

Empilhamento web e alojamento próprio5 min leituras

Rollback: the undo button for a website

How our websites work · 9 de 20 Iniciante

A one line change to the database pointer would have made our automatic rollback fail. We found it by reading the runbook before the switch, and rehearsed the manual return in 5 to 6 seconds.

Empilhamento web e alojamento próprio5 min leituras

How a 3D world loads in a browser tab

Our sites, a visitor's guide · 9 de 20 Iniciante

The aiazic.com world loads the first room small and streams the rest by distance. Our notes give real numbers, such as a first load that fell from 2.46 MB to 1.42 MB, and a phone test that went from 2.09 MB to 1.06 MB.

Empilhamento web e alojamento próprio6 min leituras

How a site update goes live without breaking it

How our websites work · 8 de 20 Iniciante

Our update routine is rehearse, deploy, check from outside. A rehearsal walk over 41 URLs failed two gallery pictures on its first run, and the cause was a folder the test box did not have.

Empilhamento web e alojamento próprio5 min leituras

Backups you can actually restore

How our websites work · 7 de 20 Iniciante

A shop backup of 20 tables and 323 rows was trusted only after a scratch restore counted the same rows. A copy of 2,882 files first failed every check because we ran the command in the wrong folder.

Empilhamento web e alojamento próprio5 min leituras

What a database does for a website

How our websites work · 6 de 20 Iniciante

A database holds the facts a site needs to remember. We show the tables in a real backup of one of our shops and how our blog posts turn from text files into rows.

Empilhamento web e alojamento próprio5 min leituras

Containers explained: why each site lives in its own box

How our websites work · 5 de 20 Iniciante

Our base stack runs a database, an app, an operator panel and a web server as four containers. One missing setting once gave us a healthy container serving the wrong site, with a 200 on the home page.

Empilhamento web e alojamento próprio5 min leituras

HTTPS and the padlock: what they promise and what they do not

How our websites work · 4 de 20 Iniciante

The padlock promises a private line to the right name, nothing more. We explain certificates, show the headers we set on our own sites, and point to our TLS library written in Mojo.

Empilhamento web e alojamento próprio5 min leituras

One server, many sites: how a web server sorts visitors

How our websites work · 3 de 20 Iniciante

A web server reads the name in each request, then sends the visitor to the right place. We show the real rules in our Caddy files, including a redirect, a blocked folder and a split between a 3D world and the shop.

Empilhamento web e alojamento próprio5 min leituras

Domains and DNS: the address book of the web

How our websites work · 2 de 20 Iniciante

A domain name is a label and DNS is the address book behind it. We show how one of our sites, aiazic.com, goes from a name to a server, and how to look this up yourself.

Empilhamento web e alojamento próprio5 min leituras

What happens when you type amarbaro.com

How our websites work · 1 de 20 Iniciante

Five steps turn a typed name into a page on your screen. Here they are, with the parts of our own setup that do each one.

Empilhamento web e alojamento próprio5 min leituras

A map of our sites, and what each one is for

Our sites, a visitor's guide · 1 de 20 Iniciante

Ten sites, each with its own address and its own job. This guide says what each one is, who it suits, and where to start, in plain words and without jargon.

Empilhamento web e alojamento próprio5 min leituras

Two switches took 12 and 17 seconds; the night went to permissions

The switches themselves were short. What slowed the night was a refused step on one site, a tunnel waiting for a dashboard invite on another, and a mail provider we had wrong until 23:30.

Empilhamento web e alojamento próprio4 min leituras

Stamping one revision would have broken our rollback

The cutover runbook for amarbaro.com stamps the database to revision 0001 before the switch. Read in full, the stamp makes the automatic tag rollback unable to start the old image. We found it by reading the runbook, not by a failed deploy.

Empilhamento web e alojamento próprio4 min leituras

1,003 failed URLs were all cookies; one allow line per rule fixed the count

A rehearsal walk flagged 1,003 URLs as cookie-only failures. An allow line with a reason for each rule brought the run to zero failures, with 1,005 URLs passing by a stated exception. The check is only as honest as that list.

Empilhamento web e alojamento próprio4 min leituras

A backup is a file until a scratch restore counts the same rows

A 20-table backup with 323 rows restored and counted equal in a scratch database. On the organictea FTPS copy, the first checksum run reported all 2,882 files FAILED because we ran it from the wrong folder. The fix was the folder, not the data.

Empilhamento web e alojamento próprio3 min leituras

A Reboot Is Not a Health Check

Gates that lie · 4 de 11

The stack passed 37/37 checks after a reboot, including public routes and the consent to analytics path. A running container alone would not have proved that.

Empilhamento web e alojamento próprio2 min leituras