Last active
March 2, 2025 06:22
-
-
Save sachyya/a65ea2be27e89b9989733b8e2086b1a9 to your computer and use it in GitHub Desktop.
Make WP multisite in devilbox
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Link for doc: https://devilbox.readthedocs.io/en/latest/vhost-gen/example-add-subdomains.html#tutorial-adding-sub-domains-apply-changes