Have you just built your first website and want to make it live on the internet?
Good news β you can deploy it for free using Netlify!
In this guide, weβll go through the step-by-step process of deploying a static website (HTML, CSS, JS) on Netlify β no complicated server setup required.
π§° What Youβll Need
Before we start, make sure you have:
- β A Netlify account β Sign up here
- β
Your website folder (containing
index.html) - β A GitHub account (optional but recommended)
π Option 1: Deploy via Drag and Drop
If your site is ready locally, this is the easiest way:
- Go to https://app.netlify.com/drop
- Drag your project folder (with
index.html) into the box - Wait a few seconds β and boom! π
Your site is live with a free Netlify domain (like
your-site-name.netlify.app)
You can even customize the domain later under Site Settings β Domain Management.
π§βπ» Option 2: Deploy via GitHub
This is a better approach if you plan to update your site often.
- Push your website code to a GitHub repository
- Go to Netlify Dashboard β Add New Site β Import from Git
- Connect your GitHub account
- Choose the repository you want to deploy
- Click Deploy Site
Netlify will automatically build and host your website β and every time you push new changes to GitHub, Netlify redeploys it automatically. π
βοΈ Bonus: Custom Domain Setup
Want to use your own domain like www.mywebsite.com?
- Go to Site Settings β Domain Management
- Click Add custom domain
- Enter your domain name and follow the verification steps
Netlify also provides free SSL certificates via Letβs Encrypt. π
π― Conclusion
Thatβs it! π You just learned how to deploy your website on Netlify in a few minutes β completely free, with auto updates and HTTPS.
π‘ Pro tip: Netlify also supports React, Vue, and Next.js apps with zero configuration.
If you found this guide helpful, give it a β€οΈ and drop a comment below!
You can also follow me for more quick web development tutorials.
Happy Deploying! π
Top comments (0)