Title: wordpress LEMP stack 404 issue
Last modified: March 2, 2018

---

# wordpress LEMP stack 404 issue

 *  [alldayieat](https://wordpress.org/support/users/alldayieat/)
 * (@alldayieat)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/wordpress-lemp-stack-404-issue/)
 * I have a LEMP stack setup with two single site WordPress installations: site1
   and site2.
 * For some reason, I noticed when I try going to a page that doesn’t exist on site2,
   I get the 404 page for site1. How do I make the 404 error on site2 display for
   site2?
 * im thinking it is my wp directory structure on the server but not sure..
 * my main site is in var/www/html
    for site 2, i have a folder within var/www/html/
   site2
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fwordpress-lemp-stack-404-issue%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [slav1977](https://wordpress.org/support/users/pet1977/)
 * (@pet1977)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/wordpress-lemp-stack-404-issue/#post-10031221)
 * from what I see it applies to your local configuration on your computer
    I suggest
   you to do site1 in folder i.e. /www/html/site1 instead of /www/html folder /www/
   html has to be a root
 *  Thread Starter [alldayieat](https://wordpress.org/support/users/alldayieat/)
 * (@alldayieat)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/wordpress-lemp-stack-404-issue/#post-10036169)
 * i see, thanks!
 *  [slav1977](https://wordpress.org/support/users/pet1977/)
 * (@pet1977)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/wordpress-lemp-stack-404-issue/#post-10039231)
 * did you solve your problem?

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘wordpress LEMP stack 404 issue’ is closed to new replies.

## Tags

 * [LEMP](https://wordpress.org/support/topic-tag/lemp/)
 * [multisite](https://wordpress.org/support/topic-tag/multisite/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 3 replies
 * 2 participants
 * Last reply from: [slav1977](https://wordpress.org/support/users/pet1977/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/wordpress-lemp-stack-404-issue/#post-10039231)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
