Multisite setup on VVV with bedrock
Multisite setup on VVV with bedrock
Multisite setup on VVV with bedrock
Try define(‘WP_HTTP_BLOCK_EXTERNAL’, true); in your wp-config.php. This will mean updates and downloading themes and plugins will fail, although you can still add plugins by dragging them to your plugin folder.
I wrote up a short tutorial in this other answer which goes into a little more detail, but I think you want to use docker-compose to define any directories (volumes) that you want to share between your local environment and the container environment. There may be a way to do this directly with Docker, but … Read more
You need the VVV Custom site template to enable multisite. And you have to let the main Vagrant instance load it automatically. Open the vvv-config.yml in the main directory, under sites: add the following entry: msvagrant: repo: https://github.com/Varying-Vagrant-Vagrants/custom-site-template hosts: – msvagrant.dev – en.msvagrant.dev – de.msvagrant.dev custom: wp_type: subdomain Then run vagrant up, and it should … Read more
You can add this to your VagrantFile for “shared folders:” config.vm.synced_folder “/path/to/your/host/projectfolder/theme”, “/path/to/your/vagrant/wp-content/theme”, owner: ‘www-data’, group: ‘www-data’, mount_options: [“dmode=775”, “fmode=664”] http://docs.vagrantup.com/v2/synced-folders/basic_usage.html
I use a very similar Nginx server set up and the following works great for me, however, I prefer to take a different route and split the server blocks configuration for “Non Secure – http” and “Secure – https” individually. Also as per your sub directory structure, you’d want to take a look at this … Read more
On the WordPress side of things, Basic WordPress Vagrant Environment is ready to work with any WordPress version (with a little help). You would still need to find a way to configure the PHP but there is a hint in https://github.com/ideasonpurpose/basic-wordpress-box/blob/master/ansible/roles/php/tasks/php.yml. To use it out of the box; Download or clone the project to wplatest-php55.dev/ … Read more
The solution to this problem appears to be the same as reported in the related post: Although the VM in the Oracle VB GUI appears as not running, you must manually start it through Oracle VB GUI (this should work and allow you to login to the box) and then manually power it off again … Read more
I use PuTTY to connect to my Vagrant boxes on Windows7. Make sure you convert the %USERPROFILE%\.vagrant.d\insecure_private_key to .ppk using PuTTYGen use the .ppk key in your PuTTY session – configured in Connection > SSH > Auth > Private key file use host 127.0.0.1 use port 2222 instead of 22 you can set the default … Read more
I’ve had this same issue, related to the configuration of my pg_hba.conf file (located in /etc/postgresql/9.6/main). Please note that 9.6 is the postgresql version I am using. The error itself is related to a misconfiguration of postgresql, which causes the server to crash before it starts. I would suggest following these instructions: Certify that postgresql service … Read more