Skip to content

Instantly share code, notes, and snippets.

@sachyya
Last active March 2, 2025 06:22
Show Gist options
  • Save sachyya/a65ea2be27e89b9989733b8e2086b1a9 to your computer and use it in GitHub Desktop.
Save sachyya/a65ea2be27e89b9989733b8e2086b1a9 to your computer and use it in GitHub Desktop.
Make WP multisite in devilbox
Steps:
Copy to .devilbox files like apache22.yml and nginx.yml as per docs.
When subdomain is added. Add them to /etc/hosts too
Detailed step
1. Create `.devilbox` folder inside the project at `htdocs` level.
2. Copy related ngnix/apache file from `cfg/vhost-gen` folder
3. Once copied rename it to `.nginx` or `.apapche`
4. Then change the code as mentioned in the docs
5. Then restart devilbox.
Note it only works on subdomain multisite not subdirectory.
@sachyya
Copy link
Author

sachyya commented Mar 2, 2025

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment