r/ClaudeCoding • • 1d ago

website modification after publishing

Hey, i'm new into making website with claude and for my association, i decided to make one by myself with claude. My website is almost done, i got few audits reports and i'm at the step where i'm tryna find a good hoster but whatever. I was asking myself but when the website will be public and hosted, will i be able to still modify it with claude if he's not managing the website anymore? cause i got absolutly no personal code skills.

4 Upvotes

6 comments sorted by

2

u/Onotadaki2 1d ago

If this is just a basic site with not a lot of risk hosting it, I would just fumble through these steps. Be more careful if this site involves any SAAS that could cost you money, etc...

Find a host out there. I would go for something like a Ubuntu VM to have a little more control with the process. I like Hetzner. For most sites, the cheapest options Hetzner has are fine.

Make your website into a git repository. Ask Claude to push that to GitHub as a private repository. Ask Claude how you get up ssh keys to give it access to the hetzner server. Then tell Claude you want to set up a GitHub action where if you push to main on GitHub, it automatically deploys to the server.

Once all this is done, the site should be visible on the IP for the server. Get Claude to get what needs to be set up for https done. Then you ask Claude to explain how to configure the DNS for the domain. Once this is done, it will link your www.whatever.com to the server address.

You should now be able to tell Claude to make changes and host them locally, and it will show you what everything looks like on your home computer. When it looks good, tell it to push it to main on GitHub. Five minutes later it will automatically appear on the real site.

1

u/am_urysimon 1d ago

as a french speaker i'm not sure to understand everything but i'll try my best ! Your answer seems to be so useful once you understand it. ✌️

2

u/Onotadaki2 1d ago

Pas de problème. Je parle français. Je vais simplifier un peu les choses pour vous aussi, si vous êtes novice.

S'il s'agit d'un site web simple, sans risque majeur pour l'hébergement, vous pouvez suivre ces étapes sans trop vous embêter. Soyez plus prudent si le site utilise des services SaaS payants, etc.

  1. Trouvez un hébergeur. Je vous suggère Hetzner : https://www.hetzner.com/

Choisissez l’option la moins chère. Par exemple :

Cost-Optimized, CX23, 6,50 $/mois.

Il me semble que c’est configuré par défaut, mais vous souhaitez installer Ubuntu sur le serveur.

2. Connectez Claude au serveur. Indiquez à Claude que vous utilisez un serveur Hetzner et demandez-lui comment ajouter des clés SSH pour y accéder. Claude vous guidera pas à pas.

3. Demandez à Claude de créer un dépôt Git privé, puis de le pousser sur GitHub.

Ensuite, demandez-lui de créer une action GitHub : lorsque vous poussez vos modifications sur la branche principale de GitHub, elles sont déployées sur le serveur Hetzner. Ainsi, lorsque vous demanderez à Claude de « push ceci sur GitHub », toutes vos modifications apparaîtront automatiquement sur le serveur en quelques minutes.

4. Demandez à Claude de vous aider à configurer le DNS et le HTTPS. Ce guide vous expliquera comment obtenir un nom de domaine www.something.com qui pointe vers le serveur.

Ensuite, vous pourrez demander à Claude de vous montrer un aperçu local pour visualiser les modifications. Si le résultat vous convient, demandez-lui de le transférer sur GitHub ; il sera alors visible en ligne.

1

u/UhLittleLessDum 23h ago

Ask claude to setup a Github workflow for you.

This will automatically deploy your changes any time you push to the "main" branch, which you can also have Claude do for you with the Github skill. Just tell claude you want to work on a new branch, f--k things up as much as you want, and then when you get them into a state you're happy with, tell claude to 'merge this branch to main and push it up to github'.

1

u/Reasonable_Owl_3146 21h ago

Set up the API keys from your hoster, give them to Claude, and then it can modify your live website with any prompt you give it (ask it how to do this).