Documentation

Visit Our xCloud Knowledge Base

Here is your one-stop source for in-depth articles, FAQs, and tutorials for you to excel at hosting & managing your websites.


How to Set Up PHP on Vultr with xCloud

Building a custom online presence often requires more flexibility than a standard CMS can provide. xCloud allows you to go beyond the limitations of WordPress, giving you the freedom to develop and host fully customized PHP applications tailored to your specific needs.

In this guide, we will show you how to set up PHP on Vultr using xCloudโ€™s streamlined dashboard. Whether you are deploying code directly from a Git repository or manually uploading your files, xCloud makes the process seamless. Follow these simple steps to configure your server and get your custom PHP project live in minutes.

First, set up your Vultr server in xCloud. Follow these steps to get started.

How to Set Up a Vultr Server in xCloud? #

This guide shows how to set up a Vultr server in xCloud. Follow the steps to quickly launch, configure and start your cloud journey.

Step 1: Create Your New Vultr Server in xCloud #

After logging in to your xCloud account, start by adding a new server by clicking on the โ€œAdd New Serverโ€ button from your dashboard.

How to Set Up PHP on Vultr with xCloud

The next screen will provide the list of our available services. For this tutorial, we will create a Vultr server and for that select the Vultr option under โ€œBring your own server serviceโ€. The billing of the server will be handled on your Vultr account, and in xCloud, we wonโ€™t charge for this first server.

Bring your own server service

Sign Up in Vultr with xCloud Promo #

Sign up at Vultr.com, verify with a credit card ($2.50 hold) or PayPal ($5 minimum), and get $100 free credit. Use promo code โ€œXCLOUD25โ€ during signup.

Note: If you already have a Vultr account, then please skip this step and check how to collect the API from Vultr.

Signup in Vultr with xCloud Promo

Collect the API key from Vultrย  #

After you have successfully completed setting up your billing method, you will need to get the Vultr API key to add it to xCloud to create and manage 1 server and 10 sites for free. Navigate to the Account โ†’ API tab from your Vultr dashboard. After that, click on the โ€˜Enable APIโ€™ button.

Collect API key from Vultrย 

Now, your โ€˜Personal Access Tokenโ€™ will be auto-generated. Copy the API Key/Token.

Personal Access Token

Please make sure you have added Any IPv4 and Any IPv6 both under Access Control.

Access Control

Now, you need to go back to the xCloud dashboard and add your Vultr Label & API Key.

Add Team Members In Vultr #

If you want your team members to use xCloud with Vultr, then make sure these permissions are given.

Add Team Members In Vultr

Add Vultr API key in xCloud  #

Thanks to xCloud, you can create your first server without spending any money. Now, click on โ€˜Add New Serverโ€™ from the xCloud dashboard and you will be redirected to the server selection screen. Then click on โ€˜Vultrโ€™ to proceed further.

How to Set Up PHP on Vultr with xCloud

After selecting โ€˜Vultrโ€™, set your โ€˜Keyโ€™, โ€˜Vultr Labelโ€™, and โ€˜Vultr API Keyโ€™. Then click on โ€˜Verifyโ€™.

After selecting โ€˜Vultrโ€™, set your โ€˜Keyโ€™, โ€˜Vultr Labelโ€™, and โ€˜Vultr API Keyโ€™. Then click on โ€˜Verifyโ€™.

Step 3: Create a Vultr Server in xCloud  #

Now that you have successfully verified your Vultr account, you will need to add other details to create a server in Vultr using xCloud. Choose your Region, Database Server, Server Size, and much more from one easy dashboard.

Create a Vultr Server in xCloudย 

After putting all the information, click on โ€˜Nextโ€™ and xCloud will automatically install and set up everything for you in a few minutes.

How to Set Up PHP on Vultr with xCloud #

Creating a website using custom PHP applications on xCloud can be a powerful way to build a tailored online presence. Unlike traditional WordPress-based sites, xCloud allows you to go beyond WordPress and develop fully customized PHP applications to meet your unique requirements. 

xCloud provides an intuitive interface that allows you to easily deploy, manage and scale your Node.js applications directly from your Git repository without worrying about manual setup or infrastructure maintenance.

Follow the guide to deploy your Node.js application easily on Vultr with xCloud:

Step 1: Choose the Application  #

To begin deployment, click on the โ€˜Add New Siteโ€™ button from the dashboard. 

Choose the Application

You will then be asked to โ€˜Choose a Server to add Siteโ€™ from the dropdown. You must select the Vultr server you set up in xCloud from this dropdown.

Choose a Server to add Site

Next, you will see options such as โ€˜WordPressโ€™ and โ€˜Custom PHPโ€™. Go to the โ€˜Node.jsโ€™ option from the tab. 

you will see options such as โ€˜WordPressโ€™ and โ€˜Custom PHPโ€™. Go to the โ€˜Node.jsโ€™ option from the tab.ย 

Then choose your preferredย way from the โ€˜Clone a Git Repositoryโ€™ and โ€˜Manually Upload a Websiteโ€™ options.

Then choose your preferredย  way from โ€˜Clone a Git Repositoryโ€™ and โ€˜Manually Upload a Websiteโ€™ options.

How to Install Custom PHP Applications from Your Git Repository #

Migrating a website from a Git repository with xCloud involves several easy steps. The guide below can help you understand how you can perform this migration. Follow the steps below to migrate a custom PHP site from a Git Repository.ย 

Step 1: Select Option To Clone A Git Repository Option #

First, click on โ€˜New Siteโ€™ from the xCloud dashboard. Click on the โ€˜Custom PHPโ€™ field. Now, choose โ€˜Clone A Git Repositoryโ€™ to import your custom PHP site.ย 

Select Option To Clone A Git Repository Option

Step 2: Select Destination Server #

From the โ€˜Destinationโ€™ tab, select the destination server to migrate your site. You can keep the server that is already selected or you can change it from the dropdown. Then, click on โ€˜Nextโ€™.

Select Destination Server

Step 3: Set Up Domains #

From the โ€˜Domainsโ€™ tab, you will get two options, either you can create your site in a staging domain and refine it until it is ready for launch or, you can migrate into a new domain to get your site up and running in a new domain.  To create a site with your live domain, you need to select the โ€˜Migrate into a New Domainโ€™ option. Then you have to put โ€˜New Site Titleโ€™ and โ€˜Domain Nameโ€™

Set Up Domains

Here, you need to enable HTTPS to make your website more secure. From the DNS Setup section, toggle on the โ€˜Do You Want To Enable HTTPS?โ€™ option. After enabling it, you will get two options to select. Either choose to use a free SSL certificate issued & managed by xCloud or you can provide the certificate and manage it yourself. Select according to your choice.

Enable HTTPS

Instead of migrating into a new domain, you can select the โ€˜Demo Siteโ€™ option. xCloud offers a temporary staging domain to make your site live, which helps promptly showcase your siteโ€™s progress and collect feedback from teammates or clients. Subsequently, you can integrate your custom domain to make the site accessible to your users or visitors. Now, click on โ€˜Nextโ€™.

Demo Site

Step 4: Settings To Manage Database #

In the โ€˜Settingsโ€™ tab, you will see the โ€˜PHP Versionโ€™ and โ€˜Site Usersโ€™. You can change these according to your choice. 

Settings To Manage Database

Now, it is time for database management. You will get two options. Either you can create a new database on the server, or, you can add your existing database that is hosted on another server. If you select this option, you need to get a โ€˜Database Nameโ€™, โ€˜Database Usernameโ€™ and โ€˜Database Passwordโ€™. You can keep these auto-generated credentials or you can modify them according to your choice. 

If you select this option, you need to put in a few information and credentials such as โ€˜Database Hostโ€™, โ€˜Database Portโ€™, โ€˜Database Userโ€™, โ€˜Database Nameโ€™ and โ€˜Database Passwordโ€™. Please make sure that the database connection configuration is correct. 

If you select this option, you need to put in a few information and credentials such as โ€˜Database Hostโ€™, โ€˜Database Portโ€™, โ€˜Database Userโ€™, โ€˜Database Nameโ€™ and โ€˜Database Passwordโ€™.

After selecting any one option and providing all essential information and credentials, click on โ€˜Nextโ€™.

Note: For this documentation, we are going with the โ€˜Create Database In Serverโ€™option.ย 

Step 5: Insert Git Repository Credentials #

In the โ€˜Git Repoโ€™ Tab, add your โ€˜Git Repositoryโ€™ and โ€˜Git Branchโ€™. Also, toggle on the โ€˜Enable push to deployโ€™ option. Once you enable the โ€˜Push To Deployโ€™, it will generate a โ€˜Deployment URLโ€™. We need to insert this URL into GitHub. Copy the โ€˜Deployment URLโ€™ from here.

Insert Git Repository Credentials

Step 6: Add Deployment URL In Git Repository #

Now, go to your Git Repository. From the โ€˜Codeโ€™ tab, go to the โ€˜Settingsโ€™ tab and click on โ€˜Webhooksโ€™ page from the โ€˜Code and automationโ€™ section of the left navigation. Insert the Deployment URL into the โ€˜Payload URLโ€™ field. Select the โ€˜Application/JSONโ€™ from the โ€˜Content typeโ€™ dropdown.ย 

Add Deployment URL In Git Repository

Step 7: Add Public Key to Git Repository #

From the xCloud dashboard, copy the โ€˜Public Keyโ€™ to add it to your Git repository as a deploy key. Git migration uses the โ€˜Public Keyโ€™ for SSH authentication. This is necessary to enable xCloud to access your Git repository and clone it. It ensures secure and authorized access for the cloning process.

Add Public Key In Git Repository

Now, again, go to your Git Repository. From the โ€˜Codeโ€™ tab, go to the โ€˜Settingsโ€™ tab and click on โ€˜Deploy Keysโ€™ in the security section of the left navigation. Click on the โ€˜Add Deploy Keyโ€™ button and paste the key that you copied from xCloud. 

From the โ€˜Codeโ€™ tab, go to the โ€˜Settingsโ€™ tab and click on โ€˜Deploy Keysโ€™ in the security section of the left navigation

After inserting the deploy key in GitHub, click on โ€˜Nextโ€™ on your xCloud settings of the โ€˜Git Repoโ€™ tab.  

After inserting the deploy key in GitHub, click on โ€˜Nextโ€™ on your xCloud settings of the โ€˜Git Repoโ€™ tab.ย ย 

Step 8: Confirm Migrating The Website #

Now, to start the migration process, click on the โ€˜Startโ€™ button. After clicking on the โ€˜Startโ€™ button, the migration process will start. And, you will see the progress of migrating. 

Confirm Migrating The Website

Note: The Git Repository must contain a wp-config-sample.php. xCloud generates a wp-config.php file from the wp-config-sample.php file with the database information.

Once the migration is successfully complete will see the following screen. You go to the site dashboard from there. 

Your site has been successfully migrated

How To Manually Upload a PHP Site on xCloud #

If youโ€™re migrating an existing PHP site or starting from scratch, xCloud makes it easy to upload and configure your website. Follow the steps below to successfully upload your site, set up your database, and get your site live on a custom domain or a staging environment.

Step 1: Create A New Site #

First, click on โ€˜New Siteโ€™ from the xCloud dashboard. Click on the โ€˜Custom PHPโ€™ field. Now, you choose โ€˜Manually Upload Websiteโ€™ to import your custom php site. 

Add Your New Site into Custom-php

Step 2: Add Information To Manually Upload Website #

Now, select the destination server to migrate your site. Afterward, click on the โ€˜Nextโ€™ button.

Add Information To Manually Upload Website

In the next step, you need to add your source site URL. And if you choose to migrate to a new domain you can include your custom domain. xCloud offers a staging environment and with it, you can upload your site and visit it live with a temporary domain. After successfully uploading your site, you may update the site with your custom domain later.

In this tutorial, we will be working on a staging site. Select โ€˜Demo Siteโ€™ and then click on the โ€˜Nextโ€™ button.

Select โ€˜Demo Siteโ€™ and then click on the โ€˜Nextโ€™ button.

Now, you will be sent to the โ€˜Settingsโ€™ step. Make sure to correctly add your โ€˜PHP Versionโ€™, โ€˜Site Usersโ€™, โ€˜Web rootโ€™ and other details before clicking the โ€˜Nextโ€™ button.

Note: The directory where your websiteโ€™s main files, including index.php, are stored. The Web root defines the base folder from which your website is served, and it must be set correctly to ensure proper functionality.

Configuring and Database Connection

Additionally, ensure that your index.php file is correctly placed for the system to function automatically. The index.php file should be located in the root directory. However, if it is placed in a subdirectory, you must update the Web Root Settings accordingly.

Users may upload their entire website directory instead of just the necessary files. For example, if the website files are inside a folder named public_html, then the root directory does not contain index.php directly.

File Manager

To resolve this, you need to update the Web root settings. For this, navigate to Web Root Settings from the โ€˜Site Settingsโ€™. Then enter the name of the folder that contains the index.php file (e.g., public_html) and click on the โ€˜Updateโ€™.

Site Settings

Once updated, our system will correctly detect and load the index.php file from the specified folder.

Step 3: Upload The Exported Zip File & SQL File #

You will now be directed to the โ€˜Settingsโ€™ step. Just upload your exported custom php file as shown and click on the โ€˜Nextโ€™ button.

Now from the โ€˜Filesโ€™ step, upload your SQL file similarly. Afterward, click on the โ€˜Nextโ€™ button. 

Now from the โ€˜Filesโ€™ step, upload your SQL file similarly. Afterward, click on the โ€˜Nextโ€™ button.ย 

Step 4: Complete Database Settings & Finalize #

In the โ€˜Databaseโ€™ tab, you can configure your preferred database setup. If you are good to go for uploading an existing custom PHP website with xCloud, click on the โ€˜Startโ€™ button.

Complete Database Settings & Finalize

Within a few moments, your PHP website will be uploaded on xCloud automatically. You will see the following screen while uploading. 

Within a few moments, your PHP website will be uploaded on xCloud automatically.

Once the migration is successfully complete will see the following screen. You go to the site dashboard from there. 

the migration is successfully complete will see the following screen.

Final Outcome #

After the migration is completed, if you visit the site, you can see the newly custom PHP site that you have uploaded with xCloud.

This is how easily you can create a site with custom PHP applications in xCloud. With simple steps, you can quickly deploy your site, configure your database, and choose your preferred domain settings. If youโ€™re using a Git repository or uploading files directly, xCloud provides easy ways to get your website live and running smoothly.

Still feeling stuck? Contact our dedicated support team for further assistance.

What are your feelings

Updated on January 5, 2026

Server Name

RAM

SSD

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Newcomer

1GB

25GB

$4.50

$5.00

$6.00

Basic

2GB

55GB

$9.00

$10

$12.00

Standard

4GB

80GB

$18.00

$20

$24.00

Professional

8GB

160GB

$36.00

$40

$48.00

Business

16GB

320GB

$72.00

$80

$96.00

Server Name

RAM

SSD/NVMe

xCloud Provider Price/m
(For LTD users)

VULTR Price/m

DO Price/m

Lite

1GB

32GB

$5.40

$6.00

$8.00

Personal

2GB

88GB

$16.20

$18.00

$24.00

Growing

4GB

128GB

$21.60

$24.00

$32.00

Elite

8GB

256GB

$43.20

$48.00

$64.00

Titanium

8GB

384GB

$86.40

$96.00

$96.00

Ultimate

32GB

512GB

$172.80

$192.00

$192.00