You can deploy your Astro project to your own Virtual Private Server (VPS) using Cleavr, a server and app deployment management tool.
To get started, you will need:
In Cleavr, navigate to the server you want to add your Astro project to.
Select Add Site and fill in the details for your application, such as domain name.
For App Type, select ‘NodeJS Static’ or ‘NodeJS SSR’ according to how you are setting up your Astro app.
For Static apps, set Artifact Folder to dist.
For SSR apps:
entry.mjs.dist/server.Select Add to add the site to your server.
Once your new site is added, click Setup and deploy.
Select the VC Profile, Repo, and Branch for your Astro Project.
Make any additional configurations necessary for your project.
Click on the Deployments tab and then click on Deploy.
Congratulations, you’ve just deployed your Astro app!
© 2021 Fred K. Schott
Licensed under the MIT License.
https://docs.astro.build/en/guides/deploy/cleavr/