Wordpress deployment on nginx

Creating the virtual machine

  1. Create a virtual machine

  2. Select Web Server Type

nginx
  1. Select programming language

PHP
  1. Select Database

MySQL
  1. Select Location - the one closest to your users

Frankfurt
  1. Select the operating system

Ubuntu
  1. Select Plan

1 cpu / 1gb

Creating the application

  1. Create application and choose the virtual machine you have previously created

  2. Choose the Wordpress application from the list

  3. Deploy

  4. Login into the wordpress admin

  5. Install All-in-One WP Migration

  1. On the origin website go to Export and download the archive

  2. On the bunnyshell wordpress instance go to Import

  3. We need to change the max upload size

  4. SSH into the machine

  5. Locate the php.ini file

/etc/php/7.4/fpm/php.ini

  • Edit the php settings

  • Search for the following properties and update them

  1. Increase the nginix client_max_body_size

Open the file

Search for client_max_body_size property and update it to 2048m

  1. Restart nginix

  1. Restart php-fpm/php

  1. Upload the wordpress archive

Last updated

Was this helpful?