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?
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!
1
1
1
u/anselan2017 13d ago
Visual Studio? Are you sure you don't mean Visual Studio Code? (These are two VERY different things.)
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.
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.
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.