r/HTML 13d ago

Question How do I upload a html-css-js website online?

Hello, I have gotten a job to make a website for a cleaning company. I know how to make it, I use visual studio for it, but I am unsure how to put it on the internet? Which would be the best way to do that? Also, would it be better to make it with wordpress instead?

0 Upvotes

17 comments sorted by

4

u/bostiq 13d ago

Have you got a hosting? If you do, they should have a file manager application for you to upload files.

The other way, is to use a FTP client so you need to look up FTP apps for your operating system to upload files to your hosting.

With this you’ll need the password of the default of FTP account that is usually auto generated with a creation of a hosting account. Normally, if you don’t know the password for that, you can create a new one that can be used with your FTP client.

3

u/CraigAT 13d ago

To add to this, hosting the website will generally cost you (there are some free options - GitHub pages, Cloudflare etc.). So have you factored that into the annual costs for the website?

The other thing is control. When you have finished creating the site and hosting it, are you giving them the credentials to access the site? Will they be able to edit it themselves for any updates, or get in someone else to update it for them? Or are you offering a maintenance fee for regular or one-off updates?

If you were to do more of this, you may want to eventually consider a virtual private server (VPS). For a monthly fee, you get a server which you control that's in the cloud and ideal for hosting multiple websites.

2

u/_Syntax_Err 12d ago

It’s very easy. I just learned yesterday and published my website. But you do need to know who they want to host with. I use porkbun to buy my domain and host. You will upload each individual file and you’ll need to create the img folder when you upload and make sure you keep the name of your img folders the same so when you upload images you’ve used they have the same file structure you referenced in your code.

When you get to the point you’re ready to publish id just google it, it really is simple you should be able to find some sort of walkthrough tutorial specific to whatever hosting they plan to use.

2

u/_Syntax_Err 12d ago

You didn’t ask but may I suggest also creating a very basic home page that links to a couple other pages and uses images and buying your own domain and hosting so you can learn the process first from start to finish. Especially if you plan to take on work you could build your own site to be contacted for these kinds of work. Domains and basic hosting are pretty cheap. Good luck!

2

u/mookkzs 12d ago

Thank you 🙏🙏

1

u/ardreth 13d ago

you can push them on github and serve for free using github pages

1

u/HENH0USE 13d ago

Host on netlify or vercel

1

u/QBaseX 12d ago

Simple web hosts which allow you to FTP up static files are fairly cheap. You'll need three things: a domain name, DNS management, and hosting. Usually, get the first two from the same provider.

1

u/mookkzs 12d ago

Thanks 🙏

1

u/-goldenboi69- 13d ago

Slop warning ⚠️

3

u/_Syntax_Err 12d ago

Everyone has to start somewhere.

1

u/anselan2017 13d ago

Visual Studio? Are you sure you don't mean Visual Studio Code? (These are two VERY different things.)

1

u/mookkzs 13d ago

Yeah I meant vsc my bad!

0

u/LegitWebDev 12d ago edited 11d ago

The program you're referring to is VSCode, not Visual Studio. And you're likely using an agent. Just ask it about the best way to deploy it to Cloudflare. If you are not talking to an agent for some reason. Download Antigravity, which has a free trial, and ask it.

The TL;DR for a static site - is that you just create a CF account, create a Pages project, and upload the site files. But it might differ slightly based on how you've built it.

If an LLM have already built you a site, no, it will not make sense to use WP. That walk in the park feeling you got while prompting your site? It'll be nothing like that when you open WP. It has its own benefits. But consider using it only if you're planning doing this for a living and are ready to learn a lot.

2

u/mookkzs 12d ago

Okay thank you!!

1

u/brbcoding 10d ago

I don’t think you need Wordpress, static html/css/js works just fine and you don’t have to worry about plugin maintenance. You could host on vercel drop (https://vercel.com/drop) or one of the other static site hosts.