Ask HN: I bought a website, how do I edit it?

4 points by elsalazar 13 hours ago

I recently bought a small business and the seller gave me the info to keep the domain active and then gave me a bunch of files for the website. I told the hosting company "I have these files, how do I load up the website?" They said go to this folder and upload your files. After I did that, the website was up and running. Now I want to change the website, but don't know how to get started or where to get information. Was hoping someone here could point me in the right direction. TIA

rudasn 8 hours ago

Websites are coded in html, styled with css, and made dynamic/interactive with javascript.

When you right click on a Web page, such as the one you are reading now, and select View Source you can see the html, css and javscript that your browser reads in order to display the page.

Anyone can learn about these technologies and a good starting point would be Mozilla Developer Network (MDN for short) where they have all sorts of documentation on how to get started and what is the state of the art.

Of course, there is a lot more to it but if you just copied/pasted some files on a Web server and it worked this is all you need to know for now.

solardev 5 hours ago

How much time and/or money do you want to spend on this project?

Depending on how complicated the website you bought was (i.e. whether it's just a simple informational site, or some complicated interactive app) it can take anywhere from a few hours to a few months or years to learn how to maintain it.

If you just want a simple site that you can edit on your own, it's probably easier to just put it on a page builder like wix.com or squarespace.com.

If you want to keep the current look & feels that you have, though, then you'd either have to learn or work with it or pay someone to do it (or teach you).

You can start with the basics, learning HTML and CSS from whatever free resources you want, like https://www.freecodecamp.org/. If your site is interactive, you'll eventually need to learn Javascript too, which can be quite a bit harder.

If you want to provide some contac info, I'd be glad to jump on a call with you to take a deeper look and tell you how it works, etc. (no charge)

randomcatuser 13 hours ago

Let's think about it.

If your website runs by uploading the files, that means the content must be determined by the files.

Use youtube/chatgpt: - "how do static websites work" - "how to code files on my computer"

Step 1. ALWAYS MAKE A BACKUP! (copy the folder somewhere safe). Or use git - you can learn the basics in 15 minutes.

Step 2. Edit the files. 1) First, you need a way to edit the files. Use Cursor. 2) If it's some text you want to change, use Ctrl+F to find the text & replace it with your thing. 3) If it's something else, you can ask the AI to change it for you.

Step 3. After changing your files, you can upload them to the hosting company again. You should see the changes!

Hope that is enough to get started!

Rzor 12 hours ago

Don't try to do it yourself. Hire someone to take a look and explain things to you. You might end up making things worse, such as taking the site down and/or losing data.

yorwba 13 hours ago

The file extensions and file or folder names should tell you what kind of website you're dealing with. Once you know that, it becomes a question of editing that specific kind of website.

It might have some built-in editing functionality, as 'markx2 suggests. Or it might require editing code, in which case hiring someone to do it for you, as 'nobankai says, would get the job done quickest.

But if you want to learn how to do it yourself, you should also be able to find editor software and tutorials with a targeted search for that kind of website.

markx2 13 hours ago

You don't need files, you need a username and a password.

Then try going to https://your-domain/cpanel to see if they use that.

Or use an FTP client to connect.

pestatije 12 hours ago

you can learn how to edit it, or you can ask someone who knows to edit it for you

nobankai 13 hours ago

If you don't know the answer, it's time to hire an engineer.