We have two versions of our site test.example.com running on nginx and our core site example.com running on Apache. The site is running for few year and has a lot of content and traffic.
We want to now to add multisite feature to our site, but to keep our core site running in the root domain.
We enabled multisite, wildcard subdomains, etc. on test.example.com
'Welcome to nginx!
If you see this page, the nginx web server is successfully installed and working. Further configuration is required.
For online documentation and support please refer to nginx.org. Commercial support is available at nginx.com.
Thank you for using nginx.'
Our questions are:
What is the best practice to configure nginx and solve this common problem since there are so many different answers on this question.
When we will be applying it on our core site example.com (on Appache), what will be different what we need to care of and what to do/not to do in that case.
On the test.example.com the posts are giving error 404 after enabling multisite although they are normally showing up in the loop on main page. I hope it is related to nginx problem and will be solved with same fix, if not please, give me some lead to debug it.