In case when you are going to install WordPress Multisite, there are two options:
1. Add domains/subdomains as an alias for the main domain, or use
Code: Select all
*.domain.com
Code: Select all
In your SSH, as root, run:
rm -rf /home/user/web/subsite.com/public_html
ln -s /home/user/web/maindomain.com/public_html /home/user/web/subsite.com/public_html
chown -h user:user /home/user/web/subsite.com/public_html
Code: Select all
/home/user/web/maindomain.com/public_html:
Case B: Sub-directories — a path-based network in which on-demand sites use paths
In this case you only need to use a hosting-legacy as your Proxy Template for NGINX