• I’m confused about multsite in WordPress. If I have a domain I want to be active as a secondary site in multisite –say, seconddomain.com — does it need its own nginx sites-available/sites-enabled file for Nginx to work in multisite? I would have thought yes, but I was having issues and so removed the site- file for said domain, and WordPress still handled requests for the site. Was that a caching issue, or is WordPress somehow handling web server requests for secondary sites?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    It depends on your hosting setup. If your server IP is solely yours, a virtual host file might not be needed. In most cases it’s shared and the virtual host file is what routes certain domains to the right folder to process the request. In some cases when you add a domain to your hosting account, the host adds the virtual host files for you so there’s no need to do so yourself. If your secondary domains are reaching WP without a virtual hosts file, it’s reasonable to assume it’s been handled through other means.

    “If it ain’t broke, don’t fix it” ??

Viewing 1 replies (of 1 total)
  • The topic ‘Nginx, Multisite, and Sites-available’ is closed to new replies.