How to Deploy Your DesktopServer Website Using Quick Deploy to a Live Server
Quick Deploy can make deploying your development website to a live server extremely easy. While there are other ways to deploy your website, DesktopServer’s export feature can prepare your database and files for easy deployment. Quick Deploy makes the process even quicker by allowing you to deploy your site in a few easy steps.
This article covers the original deployment method known as “Quick Deploy”. A new deployment method has been released called “DirectDeploy” that does not require an FTP client and can simplify most deployments. Click here for more information about the newest “DirectDeploy” feature.
This video tutorial will walk you through the process of using DesktopServer's Quick Deploy to push your website to a live server.
For a detailed walk through with screenshots, please follow the instructions below:
1) Export Your Website using DesktopServer’s Export Feature.
- Select “Export or import a website” option and click next.
- Select “Export a WordPress website archive” option and click next.
- You will be presented with the following screen featuring a number of fields.
- Select the website you wish to export from the drop down combo box.
- You have the option of filling out the database credentials of your live host’s database server. If you don’t have this information, you can proceed by following WordPress.org’s famous 5 minute install to obtain it - or an even easier approach would be to simply overwrite your existing working WordPress installation. Almost any version of WordPress will do because just having a working WordPress installation to overwrite means you can skip all of these fields and just click next. You will have eliminated most of the guess work as you will know that your host is capable of running a copy of WordPress.
- The only remaining step is running your copy WordPress. Quick Deploy can read the settings of your host’s existing working WordPress website and overwrite it, deploying your site fast.
- Obtain the database credentials or just skip the fields and ensure that you have the most recent WordPress installation as possible on your destination website.
- Clicking next will provide you with one last important option: Site Name.
- Make sure you use the site name that matches your working WordPress website which must be a valid registered domain name. You must include the top-level domain (i.e. .com, .org, .info, etcetera) in the Site Name field.
- Do not include the http:// as we are only interested in the fully qualified domain name with which you wish your visitors to use to reach your WordPress website (i.e. www.example.com).
2) Upload to Your Website
Upload both the zip archive and the quick-deploy.php script to your live server. If you have a working version of WordPress on your site, ensure that the wp-config.php file is present and within the same folder as your website archive ZIP file and the quick-deploy.php script file. The quick-deploy.php script will first look for the wp-config.php file and use the database credentials found within the script to deploy your WordPress website. Note that your existing working WordPress website will be overwritten, including the database and WordPress files.
I f you do not have a working copy of WordPress on your live site, then you should have supplied the database credentials in step 1. In both cases, Quick Deploy will overwrite any existing files and database content.
- After exporting your website, you will want to upload the resulting ZIP archive file (i.e. www.example.com.zip) along with the quick-deploy.php script file that can be found below.
- Download and unzip the quick-deploy zip archive. https://serverpress.com/solutions/quick-deploy.zip
- You should upload the quick-deploy.php file (as a PHP file, not zip).
3) Visit the quick-deploy.php script
Visit the quick-deploy.php script using your web browser. For instance, if you have a WordPress website with the name of www.example.com, you will want to visit http://www.example.com/quick-deploy.php in your web browser.
You should then see the Quick Deploy screen that follows:
4) Type the file name of your website’s ZIP archive file (for example, www.example.com.zip) into the field next to the Deploy button.
- Be sure not to rename the ZIP archive file prior to uploading as the name of the ZIP file must match the name you specified at the time you created it using the DesktopServer export feature (this is a known issue).
5) Press the Deploy Button
- Note that your existing website (if any) will be erased.
- You should receive one last prompt asking you to confirm.
- Click OK to proceed.
6) You're All Done!
- Keep your web browser open and do not navigate away from the page while Quick Deploy unpacks your website archive.
- Any errors that occur should appear within the large text box area, otherwise you should see the text “Done!” if only for a second before being transferred to your site’s home page.
If Quick Deploy succeeded, you will know right away by seeing your website’s home page.
7) Verify the Deploy
- Quick Deploy should have also cleaned up after itself, deleting both the quick-deploy.php script file and your website archive ZIP file.
- A temporary folder would have been created with the same name of your website archive file and that should have been deleted as well.
- For security purposes, you should verify that the folders and files are no longer present on your site.
- Thoroughly review the integrity of your newly deployed website for any potential errors or incompatibilities.