# Cache Issue

**URL:** <https://community.localwp.com/t/cache-issue/39191>\
**Category:** Support\
**Created:** [September 20, 2023, 6:34am UTC](https://community.localwp.com/t/cache-issue/39191 "2023-09-20T06:34:04Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hamza-Najam](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@Hamza-Najam](https://community.localwp.com/u/Hamza-Najam)\
**Post date:** [September 20, 2023, 6:34am UTC](https://community.localwp.com/t/cache-issue/39191/1 "2023-09-20T06:34:04Z")

</div>

### What issue or error are you experiencing?

i set up a local WordPress environment using local by flywheel with same domain name that i have on live server now my live site is not accessable from my laptop if local by flywheel is on it will go on local domain but if local by flywheel is off it will show This site can’t be reached

* * *

### What steps can be taken to replicate the issue? Feel free to include screenshots, videos, etc

I clear browser cache and system cache

* * *

### System Details

- **Local Version:**

local-7.2.1-windows

- **Operating System (OS) and OS version:**  
Windows 10 Pro

* * *

### Local Logs

Attach your Local Logs here ([Help Doc - Retrieving Local’s Log](https://localwp.com/help-docs/troubleshooting/retrieving-locals-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:** [September 20, 2023, 1:19pm UTC](https://community.localwp.com/t/cache-issue/39191/2 "2023-09-20T13:19:54Z")

</div>

Hi @Hamza-Najam

The domain in your Local app should not match the domain of the live site. This is intentional to avoid the problems you’re running into. When you push/pull the site there will be search and replaces that happen automatically to change the domain.

It might be easiest to just wipe the site from your Local install and then reimport it but allow the domain name to remain how it is named in the app.

---

<div class="post-metadata">

**Author:** ![CodeSlayer2010](https://sea1.discourse-cdn.com/flex019/user_avatar/community.localwp.com/codeslayer2010/32/18772_2.png) [@CodeSlayer2010](https://community.localwp.com/u/CodeSlayer2010)\
**Post date:** [October 23, 2023, 6:04pm UTC](https://community.localwp.com/t/cache-issue/39191/3 "2023-10-23T18:04:03Z")

</div>

Hi Nick,

What you are saying isn’t intuitive – in other words, one wouldn’t just assume what you described to be the case, so it must be documented somewhere right? Can you put a link to where in LocalWP documentation it states that your local site can’t be named the same as your live site? Thanks.

---

<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:** [October 26, 2023, 4:38pm UTC](https://community.localwp.com/t/cache-issue/39191/4 "2023-10-26T16:38:04Z")

</div>

Sorry for any confusion here. To clarify what I mean is that if your live site domain is `CodeSlayer2010.com` you wouldn’t want to change your Local site to the same. You could still use `CodeSlayer2010` but it would end in `.local` instead of `.com`. Unless you’re using Localhost as your Router Mode in which case it would be something like `localhost:10005`. Sometimes users will try and edit these domains to match and run into redirect/caching issues naturally. Reading back over the original post I’m not 100% sure if that is what happened here but that’s what I assumed.

---

<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:** [January 24, 2024, 4:38pm UTC](https://community.localwp.com/t/cache-issue/39191/5 "2024-01-24T16:38:16Z")

</div>

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