WordPress Migration
Guidance on how to migrate to StackOS
So you've decided to make the first step to moving your block to a decentralized compute platform.
If you come from the docker/kubernetes world, you will feel most at home after you get to know a few new things specific to StackOS.
If you come from the world of "Buying a WordPress Site" / Blog as a service, talk to us before going in deeper. Although StackOS makes many things easier, it is also good to check if there is any gap between what you require and what is provided.
If you come from the world of "Install WordPress on Linux" but you have no docker experience, then be aware you will benefit from learning some basic things about docker. Just like how CLI is the foundation of installing WordPress, Docker is the foundation of how compute loads are loaded into StackOS.
A few things to check: Are you starting a brand new WordPress Blog?
Trying to migrate an existing test/production site?
  • Are you going to keep the same domain and path before/after migration to StackOS?
  • After migrating your site, we assume you will be on a custom DNS domain in which case you will be on HTTP to begin with
  • You should use something like CloudFlare to take care of the HTTPS part for you (see below)
To get started: Fund your StackOS Account:
Launch the WordPress App on StackOS
Once your WordPress App on StackOS is launched, if you want to make any custom changes, you will need to use a "WebTTY" to gain access to the internals of your "pod" or "workload". Here are some tips:
If you wish to load complex themes, be sure to increase your upload limits. Here are some tips:
NOTE: Notice how we download content from external sites using curl.
  • If you need to add any external content, rather than FTP, use curl to bring in ourside content directly into your pod
  • Note only content under Data Persistence will be preserved across reboots/reconfigures
    • For example /var/www/html for wordpress
If you wish to use a custom domain with your WordPress on StackOS deployment, we recommend CloudFlare DNS which will both handle your DNS and HTTPS SSL Termination.
If you already own your domain you should ADD (not migrate/transfer) it to CloudFlare.
If you really like cloudflare you can transfer your domain to CloudFlare later, but if this is new to you, we don't recommend mixing this complexity at this time. Add your custom DNS to your wordpress pod:
Your CloudFlare DNS will typically look like this:
If you set up myblog.com and you want www.myblog.com to connect to it, set up a redirection rule
Add the cloudflare plugin to your wordpress:
Set your wordpress URLs correctly for HTTPS on Cloudflare:
If you get a "Too Many Redirects" error on your browser, this is this prior setting that needs to be adjusted
If you want to know what extra settings the Cloudflare Wordpress Plugin updates for you check this document
If you update some settings on the StackOS Dashboard and your machines don't update after a few minutes, you can check if something is stuck:
If you feel your account may have an underlying problem, you can always try to reset it and get any of the latest infrastructure updates which may benefit your situation:
If you are trying to do a 2 step migration from original.domain.com -> test.stackos.io, then from test.stackos.io to real.stackos.io, then you should become more familiar with the way that wordpress handles domain name changes.
Copy link