I’ve been wondering about this for a long time! How do I host a website? I’ve been coding an HTML website on my PC and want to host some of my sites. I’ve heard that if you host it yourself, you need to use your PC, which means it has to be on all the time and connected to the internet. But how does it work if I use GitHub? Do I need to use my PC, or do I just upload my HTML to the internet?
I hope you understand what I mean and can help me.
EDIT: I think I’m going to use GitHub. My new question is: do I still need to have my PC on, or do I just upload the files to GitHub?
Hello @Jason! You should just upload your HTML files to your GitHub repository, and let GitHub take care of the rest. There is no need to keep your PC on all the time.
GitHub for Version Control: GitHub is a fantastic platform for code version control, not directly for website hosting. It allows you to track changes to your website files and collaborate with others easily.
GitHub Pages for Free Hosting: However, GitHub offers a feature called GitHub Pages. This allows you to host static websites (websites built with HTML, CSS, and JavaScript) for free on their servers. Here’s the key point: You upload your website files to a specific repository on GitHub, and they handle the hosting part. Your PC does not need to be on or connected.
Learn for yourself. Make sure you make the best choice for your company by researching the many website hosting options before deciding on one. Select a supplier. Select your strategy. Put your domain here. Select the bundle that you want.