"Object Not Found" issues with Multisite + Sub Directory Install

March 17, 2015 1.3k views
WordPress DNS LEMP Ubuntu

I have an Nginx Setup and have placed the new Mapped Domain to the Nginx Config.

However I am not too sure how I can set this up since it is the first time I am setting up a Domain to a Multisite Subdomain.

Here is how my server works.

I have originally added to the Nginx Server config and works fine.

Then I have a new website which was Which I mapped with, have also added this new domain in the Nginx Config.

However, the is giving me the "Object Not Found" error. So I added the domain to my dns but not too sure how to set it up since it still does not work.

Please let me know what I need to do.


1 Answer

This guide on setting up multiple sites using server blocks in Nginx should help you get both of your domains working:

When using the Nginx web server, server blocks (similar to the virtual hosts in Apache) can be used to encapsulate configuration details and host more than one domain off of a single server. In this guide, we'll discuss how to configure server blocks in Nginx on an Ubuntu...
Have another answer? Share your knowledge.