PHP
Not able to save files – PHP running as wrong user: inside /etc/apache2/mods-enabledphp7.0.conf – delete sethandler application/x-httpd-php etc so that the per server settings inside the users home folder can take effect. Also apache2.conf in the apache2 folder may have these lines.
Virtualmin Specific
Fixing file permissions for virtual servers on virtualmin: go into Limits and Validation(bottom of virtualmin section) -> Validate Virtual Servers -> Fix Permissions
File manager is located under Webmin > Others > File Manager
Redirect Settings: Server Configuration > Website Redirects – set the source url for / for entire domain redirect – for the destination enter the fully qualified domain you want it to rediret to IE “http://www.example.com/”
PHP Configuration: first select your server then go to Services > PHP 5 Configuration > Edit Configuration Manually OR you can go to “other settings” instead of edit manualy ad turn off allow opening of URLs as files
Backup and Migration to new Server: Virtualmin > Backup and Restore > Backup Virtual Servers > Use SSH login for remote server to transfer files quickly. Then on remote server use Restore option to bring files and settings local
Once migrated find the mysql database password in: Virtualmin > Edit Databases > Passwords and update the password in the wp-config.php file in the root directory for the server
Disable BIND: Virtualmin > System Settings > Features and Plugins
Change Default Modules for New Servers: Virtualmin > System Settings > Features and Plugins
Security
Force SSL for phpMyAdmin: https://www.digitalocean.com/community/tutorials/how-to-set-up-ssl-certificates-with-phpmyadmin-on-an-ubuntu-12-04-vps
Force SSL for WordPress Login and Admin Pages: http://codex.wordpress.org/Administration_Over_SSL
Testing
Uptime monitor: https://uptimerobot.com/
Domain Tools: https://www.ultratools.com/
DNS Testing from third party address: http://www.ninjacloak.com/
WordPress Migration
Fix hardcoded links in mySQL database: https://interconnectit.com/products/search-and-replace-for-wordpress-databases/
Fix Blank White pages in Index.php
Change:
/** require( dirname( __FILE__ ) . 'wp-blog-header.php' ); */ TO: require( 'wp-blog-header.php' );