Deploy your Astro Site with Puter
On this page
In this guide, you'll learn how to use Puter to deploy your Astro site for free. Puter is a cloud operating system in your browser, with hosting, cloud storage, and much more.
Deploying your Astro Site
Step 1: Prepare Your Site
Inside your Astro project folder, simply run the build command to generate your website files:
npm run build
After the build completes, your website files will be in the dist folder. This is the folder you'll upload to Puter.
Step 2: Upload Your Site to Puter
Go to Puter.com
Drag the
distfolder from your local machine into the Puter cloud desktop
- Open the folder to verify that your Astro site is uploaded
Step 3: Publish Your Astro Site
- In the same folder, right-click and select Publish as Website
- Choose your free subdomain (e.g.,
yoursite.puter.site) and click Publish
- Congratulations, you have successfully published your Astro site!
Free Astro Hosting with Puter
You can easily host your Astro site on Puter. Just upload your files and publish as a website. You don't need any complex configuration, servers, or credit cards. Your website is instantly accessible on the internet, and updating it is as simple as replacing your files. No dashboards to navigate, no technical setup required — just straightforward file management.
In addition to hosting, you can integrate databases, AI capabilities, cloud storage, and more with Puter.js, all without managing backend infrastructure.
Find out more about Puter.js in the documentation.
Related
Free, Serverless AI and Cloud
Start creating powerful web applications with Puter.js in seconds!
Get Started Now