How to Deploy Laravel Applications with xCloud: Step-by-Step Tutorial for Beginners

A walkthrough of deploying a Laravel app to xCloud. You'll log into the dashboard, clone a Git repository, configure your domain and database, set up GitHub webhooks, add the SSH deploy key, and run post-deploy commands to get your site live.
Chapters
Hey everyone. Do you want to deploy your laravel application with powerful features? With Xcloud, you can deploy Laravel projects with just a few easy steps. Let's get started. First, log in to your xCloud dashboard and click on New Site. Then choose your server and click Next to proceed. Now go to the laravel tab to deploy your laravel application. From here, click on the Clone a Git repository to import your existing PHP project. In the Domains tab, you have two Create a demo site to test and refine your app, or migrate to a live domain using Migrate to a new domain. For this tutorial, we'll use a demo domain. Then click Next. Next, configure your PHP version, site user and webroot. Under database management, you can create a new database, add an existing one, or skip it altogether. We're going forward by creating a new database. Choose to create a new database. Fill in your database name, username and password, or use the auto generated ones. Click Next to continue. In the Git Repo tab, enter your repository URL and branch. Access the git URL and branch name. Go to your git repository and click on the dropdown button of the Code button. From here, go to the SSH tab and and copy the URL of the git repository. Then find the branch name and go back to the Xcloud dashboard. Add your git repository URL and branch. Turn on Enable Push to deploy to generate a deployment URL. This URL will be used for continuous deployment. Now, if you want to connect with your git repository for auto deployment, copy it, head over to your GitHub repo, go to Settings, then Webhooks. Under Code and automation. Paste the deployment URL in the Payload URL field. Set the content type to application JSON. Now come back to the xcloud. Here you can specify any post deployment commands in the Deploy script field. For Laravel apps. Xcloud provides some commands already. You can tweak or add your commands as well. Next, copy the public key from xCloud, go back to GitHub, navigate to deploy keys under Settings, and add the key. Return to xCloud and click next in the Git Repo tab. You're all set. Click the Start button to begin migration. You'll see the live progress as your site is deployed. Once it's complete, go to the site dashboard from the laravel menu. Configure your application and environment as needed. And that's it. And that's how easily you can deploy Laravel applications successfully. With xCloud. Thanks for watching. If you enjoyed this tutorial, give us a thumbs up. And don't forget to like, share and subscribe for more tutorials and tips. Happy hosting.
More from M

How to Deploy EmDash CMS in One Click on xCloud: A Fast, Lightweight WordPress Alternative

Self-Host OpenPanel in One Click on xCloud: A Privacy-Friendly Google Analytics Alternative

xCloud September 2026 Release Notes: Site Security Pro, AI Caching, Docker Backups & More | xCloud

xCloud August 2026 Recap: App-First Deployment, 250+ One-Click Apps & DeepSeek Harness Hosting

Deploy Vaultwarden Password Managed on xCloud (Self-Hosted Open Source Password Manager)





