# Second site 404 error

**URL:** https://community.localwp.com/t/second-site-404-error/37872
**Category:** Support
**Created:** [July 3, 2023, 12:15am UTC](https://community.localwp.com/t/second-site-404-error/37872 "2023-07-03T00:15:46Z")
**Posts on this page:** 12
**Page:** 1

<div class="post-metadata">

### Author: ![SantaBaz](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@SantaBaz](https://community.localwp.com/u/SantaBaz)
#### Post date: [July 3, 2023, 12:15am UTC](https://community.localwp.com/t/second-site-404-error/37872/1 "2023-07-03T00:15:46Z")

</div>

### Issue Summary

Tried starting a second site. Getting a 404 Site not found error

#### Troubleshooting Questions

- Does this happen for all sites in Local, or just one in particular?  
The first site I created works fine. any sites I create after that are getting the 404
- Are you able to create a new, plain WordPress site in Local and access it in a Browser?  
In the first site, yes. Not in any others

#### Replication

Describe the steps that others can take to replicate this issue. If you have screenshots that can help clarify what is happening, please include them!  
Installed Local a little over a week ago. Created a site with no issues. A few days ago tried creating a second site. deleted second site and tried again with different name. Tried creating a third site. Keep getting 404 error

#### System Details

- Which version of Local is being used?  
7.0.1+6387
- What Operating System (OS) and OS version is being used?
  - _For example: macOS Catalina or Windows 10 Professional_  
windows 11 pro

- Attach the Local Log. See this Help Doc for instructions on how to do so:
  - [Retrieving Local’s Log]([Retrieve Local’s Log File - Local](https://localwp.com/help-docs/troubleshooting/retrieving-loca)  
[local-lightning.log](https://community.localwp.com/uploads/short-url/9nSVAcV8yHPnQikf1hGmpD0jIFC.log) (64.8 KB)  
ls-log-file/)

### Security Reminder

Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.

---

<div class="post-metadata">

### Author: ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)
#### Post date: [July 5, 2023, 7:42pm UTC](https://community.localwp.com/t/second-site-404-error/37872/2 "2023-07-05T19:42:10Z")

</div>

Hi @SantaBaz

Are you creating all sites with the same configuration set up? PHP/WP/Server type?

Are you creating these sites from scratch, or using any type of clone or blueprint?

---

<div class="post-metadata">

### Author: ![SantaBaz](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@SantaBaz](https://community.localwp.com/u/SantaBaz)
#### Post date: [July 6, 2023, 1:00am UTC](https://community.localwp.com/t/second-site-404-error/37872/3 "2023-07-06T01:00:49Z")

</div>

Sites are created with the same configuration. I never touched any settings from when it was installed.

Creating the sites new. Click the Add New site button in the lower left, select Create New Site, give it a name, username, password.

---

<div class="post-metadata">

### Author: ![SantaBaz](https://avatars.discourse-cdn.com/v4/letter/s/e95f7d/32.png) [@SantaBaz](https://community.localwp.com/u/SantaBaz)
#### Post date: [July 6, 2023, 6:20pm UTC](https://community.localwp.com/t/second-site-404-error/37872/4 "2023-07-06T18:20:55Z")

</div>

Local just upgraded to the new version. Second site is now loading just fine.

Thanks to all who looked into this.

---

<div class="post-metadata">

### Author: ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)
#### Post date: [July 11, 2023, 8:22pm UTC](https://community.localwp.com/t/second-site-404-error/37872/5 "2023-07-11T20:22:09Z")

</div>

Hi @SantaBaz

Glad to hear things started working after the update! Thank you for letting us know. Happy Developing 🙂

---

<div class="post-metadata">

### Author: ![BSev](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@BSev](https://community.localwp.com/u/BSev)
#### Post date: [July 19, 2023, 5:12pm UTC](https://community.localwp.com/t/second-site-404-error/37872/6 "2023-07-19T17:12:42Z")

</div>

I am having the same problem. Just when I stopped hating WordPress! Using Local v 7.1.0+6396 , windows 11 pro. I cannot make sense of local-lightning.log but maybe you can.  
[local-lightning.log](https://community.localwp.com/uploads/short-url/eGFHmGAGHK8mdbVeo9rEx0NyBYs.log) (40.2 KB)

---

<div class="post-metadata">

### Author: ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)
#### Post date: [July 19, 2023, 9:53pm UTC](https://community.localwp.com/t/second-site-404-error/37872/7 "2023-07-19T21:53:58Z")

</div>

Hi @BSev

There are some errors in your logs that might indicate a conflict or a block happening. Are you able to create a new, blank site and access that? Or are you getting a 404 for any site? Or just any new sites?

---

<div class="post-metadata">

### Author: ![BSev](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@BSev](https://community.localwp.com/u/BSev)
#### Post date: [July 19, 2023, 11:07pm UTC](https://community.localwp.com/t/second-site-404-error/37872/8 "2023-07-19T23:07:09Z")

</div>

I have a site that is perfect. I tried to add a second site and that is where the 404 error happens when I try to connect to the WP dashboard. I think there is a conflict somewhere. Should I stop IIS or my local MySQL server?

Barbara K. Severin

---

<div class="post-metadata">

### Author: ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)
#### Post date: [July 20, 2023, 1:00pm UTC](https://community.localwp.com/t/second-site-404-error/37872/9 "2023-07-20T13:00:16Z")

</div>

Are you running other developer applications simultaneously? That could also cause similar issues. Apps like MAMP, XAMPP, or Docker for example.

---

<div class="post-metadata">

### Author: ![BSev](https://avatars.discourse-cdn.com/v4/letter/b/5f8ce5/32.png) [@BSev](https://community.localwp.com/u/BSev)
#### Post date: [July 20, 2023, 1:46pm UTC](https://community.localwp.com/t/second-site-404-error/37872/10 "2023-07-20T13:46:01Z")

</div>

I don’t know what those first two are, so I don’t think I have them. I have Docker desktop installed, but I do not think it is running.

Barbara K. Severin

---

<div class="post-metadata">

### Author: ![Nick-B](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/nick-b/32/16140_2.png) [@Nick-B](https://community.localwp.com/u/Nick-B)
#### Post date: [July 20, 2023, 9:30pm UTC](https://community.localwp.com/t/second-site-404-error/37872/11 "2023-07-20T21:30:30Z")

</div>

You might double-check Docker to see if it’s blocking anything or is fully disabled.

If you change your Router Mode (Preferences \> Advanced \> Router Mode) does that make any difference?

Is your site using Apache or NGINX by the way?

---

<div class="post-metadata">

### Author: ![system](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/system/32/1_2.png) [@system](https://community.localwp.com/u/system)
#### Post date: [October 20, 2023, 2:07pm UTC](https://community.localwp.com/t/second-site-404-error/37872/14 "2023-10-20T14:07:29Z")

</div>

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
