This week's discussion series is dedicated to helping beginners on their coding journey by addressing common doubts and misconceptions. We will delve into fundamental concepts, explore essential tools, and shed light on industry practices, providing clarity and guidance to those who are new to coding. If you're an experienced developer, your valuable insights, explanations, and best practices are highly encouraged and appreciated to support and mentor aspiring coders!
Getting a website live and accessible to others can be exciting and challenging. Share your experiences, strategies, and tips for successfully taking a website online, and let's help each other navigate the intricacies of web hosting and deployment.
Follow the CodeNewbie Org and #codenewbie for more discussions and online camaraderie!
Top comments (12)
That depends. Is it a static website (just some basic HTML, CSS and Javascript or a NextJS app)? Personally I use Netlify, but Vercel and Github Pages are also good options that host your simple site for free.
If you're looking for something more complex (NodeJS, Express etc) then you could go for Render, or Fly
Quickest ways to get a full-stack JS/TS web app up, running, and internet-accessible:
My preference is Deno Deploy, because I 💖 Deno 🦕, but glitch.me is better for absolute beginners as it's JS only and allows on-the-fly editing with a full file system. Deno Deploy only allows a single file if you want to use the playground mode, otherwise you have to deploy from a GitHub repo.
Simple solution: "Just use GitHub Pages. LOL".
GitHub Pages in my experience was more like short-term gain, long term pain.
Easy if using docker
First we create a Dockerfile that will copy all of our html, css and js files into the container. Place this in a Dockerfile
FROM httpd:2-alpine
COPY ./mywebsitefiles/ /usr/local/apache2/htdocs/
Then build the container with:
docker build -t mywebsite .
Now you have a docker container that can be deployed to most cloud providers.
Happy Coding
For static sites, you can’t beat GitHub Pages, I use it for everything static.
Using PHP / MySQL? I would recommended a free service like TinkerHost.net to start, and a premium service if you need more.
Something else? Ask someone else (I love PHP, have yet to use much of anything else [yet])
Ben! I am First Here! Need ShoutOut
Hello!
Oh myy god! Thanksss😭❤
I would recommend what everyone is choosing which is Github pages, very easy to use and I enjoy having my repository and site launcher in the same page. Would recommend using this if doing a front-end static website (e.g personal website)
I wanted to host a super simple server that would run on the JVM for an open-source project where it didn't make sense to pay anything every month.
I wish I had an easy solution. It used to be heroku and git push. Or many alternatives.
Alas thanks in large part to the crypto scammers, all the free plans are mostly gone. We now a bareer to entry that is way higher than it needs to be.
I don't like to brag, but I'd say we're experts at hosting websites. We do this with the free open source tool Wordpress. Also on DEV.TO there will soon be a detailed description of how to do this. The descriptions for the preparation for his own server & website are already online! But it's not just about his own website; no, we will also explain how you can protect it from attackers and encrypt the website with https. On top of that, we have tutorials where we explain how to monitor your website's traffic or how to connect your website to Cloudflare! They are now linked below!
Otherwise, I would recommend you to simply visit our website and take a look at all the tutorials.
If we could help, we would of course be happy about a like or a follower!
Host your own server
Benedikt Schächner for Technology Schächner ・ Jul 2
Our Website:
technik.schächner.de