Some help required on wordpress multi-site with Nginx

Hello, im trying to achieve the following

main wordpress installation for 2nd site using WP multi-site(sub-directory) 3rd site using WP multi-site (domain maping)

all 3 above with 1 single wordpress installation. i checked couple of tutorials but a bit confused that wordpress sub-directory and custom domain can be installed in single wordpress or not.

some detailed instruction would be appreciated. thank you.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Hello. I hope I’m not too late. But, I have bad news for you. :(

This is not possible with one WP installation. This is a quote from WP Codex - Create A Network:

You must choose one or the other. You can reconfigure your network to use the other choice after installation, despite the advice on the screen, but reconfiguring it might not be easy.

I’ve setup one Droplet with it and verified that it’s no possible to do it. Codex: Before You Create A Network Codex: Create A Network.

I’m not sure that you would be able to setup as you want. You would be able to setup first and second site, but I’m not sure that third is supported by Multisite. Multisite supports sub-directory or sub-domain: e.g. for sub-directory: & e.g. for sub-domain: & But there isn’t option for: & Maybe it’s possible to tweak but as I said I’m not sure in it.

You can always go with multiple sites, it could be even easier in your case