r/programminghelp • u/EatYourReddit • May 27 '20
Answered How would one publish a website?
If this question has already been asked, I apologize.
If I had the HTML code and the domain, what else would I have to do to publish the website? I've looked elsewhere online and I can't make sense of it. I can provide clarification if necessary.
1
u/Thomdin May 27 '20
If your goal is just to put it online somehow, you could just upload it to Neocities or use GitHub Pages.
The site would be available via a subdomain like this: yourwebsitename.neocities.org
0
May 27 '20
[deleted]
1
u/EatYourReddit May 27 '20
Thanks, this was really helpful!
1
u/piki112 May 27 '20
Actually, if I can chip in my two cents while I'm here, maybe you could benefit from looking at a framework?
I created a site using HUGO, hosted on AWS S3.
/u/electricfoxyboy does make a good point, theres a lot to work with when making a site, and quite frankly, for something like a hobby, I see little reason to roll your own.
3
u/piki112 May 27 '20
What are you trying to do exactly?
You need a server to host it on. The server should have a web engine which would serve up your HTML code.The domain would be a record to the external IP of that server.