Tutorials

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.

Astro static output folder

Step 2: Upload Your Site to Puter

  1. Go to Puter.com

  2. Drag the dist folder from your local machine into the Puter cloud desktop

Uploaded files
  1. Open the folder to verify that your Astro site is uploaded
Uploaded files

Step 3: Publish Your Astro Site

  1. In the same folder, right-click and select Publish as Website
Context Menu: Publish as Website
  1. Choose your free subdomain (e.g., yoursite.puter.site) and click Publish
Choose free subdomain
  1. Congratulations, you have successfully published your Astro site!
Publish website

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.

Free, Serverless AI and Cloud

Start creating powerful web applications with Puter.js in seconds!

Get Started Now

Read the Docs Try the Playground