Preview the files
Put the homepage in index.html and keep images and stylesheets under the same project directory. Serve the folder over HTTP during development so that relative links behave as they will on a real website.
python3 -m http.server 8000 --bind 127.0.0.1
Open http://127.0.0.1:8000/. Check the page at a narrow width, tab through all links, and verify that every image has appropriate alternative text. Run the preview from the directory you intend to publish.
Publish a release
Upload a complete copy to a new directory. Keep the previous release available until you have checked the public site. When a stylesheet changes, give the new version a new filename and update its reference in the HTML. This lets browsers reuse the old stylesheet for older pages while fetching the correct version for the new page.
- Use a clear cache policy for HTML so browsers check for updates.
- Give versioned assets a longer cache lifetime.
- Keep private notes, drafts, and backups outside the public directory.
MDN guide to browser caching
Check the live site
Check the public URL after publishing, then verify separately that an asset loads and a nonexistent path returns a 404. If the homepage is unexpectedly old, inspect its cache headers and check that the request went to the intended host.
curl -I https://example.org/
curl -I https://example.org/missing-page
Keep the DNS records and certificate renewal method in your maintenance notes. When you change hosts, verify the new website before retiring the old release.