# I keep getting DK0027 error

**URL:** <https://community.kinsta.com/t/i-keep-getting-dk0027-error/447>\
**Category:** Installation\
**Created:** [February 28, 2021, 1:24am UTC](https://community.kinsta.com/t/i-keep-getting-dk0027-error/447 "2021-02-28T01:24:22Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ben](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/ben/32/331_2.png) [@Ben](https://community.kinsta.com/u/Ben)\
**Post date:** [February 28, 2021, 1:24am UTC](https://community.kinsta.com/t/i-keep-getting-dk0027-error/447/1 "2021-02-28T01:24:22Z")

</div>

Hi,

I’ve installed everything and all seems fine however I cannot seem to fix the DK0027 error.

It states the below:

You may see this error if there is a missing `hosts` file entry. In this case, you won’t be able to open this site via domain name.

For fixing the issue it says to click “Fix this” but it doesn’t work.

Any ideas, help would be appreciated!

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [March 1, 2021, 4:28pm UTC](https://community.kinsta.com/t/i-keep-getting-dk0027-error/447/2 "2021-03-01T16:28:29Z")

</div>

Hi @Ben . Welcome to DevKinsta 🙂

Typically this error occurs when DevKinsta is unable to edit your `hosts` file. It may be blocked due to permission or other software preventing it from being edited. It may need to be manually added on your computer. [We have a guide here to help](https://kinsta.com/knowledgebase/edit-hosts-file/). It should look something like this:

```auto
#### START DEVKINSTA entries
127.0.0.1 kinsta-site.local
127.0.0.1 www.kinsta-site.local
::1 kinsta-site.local
::1 www.kinsta-site.local
#### END DEVKINSTA entries

```

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [April 14, 2021, 4:28pm UTC](https://community.kinsta.com/t/i-keep-getting-dk0027-error/447/3 "2021-04-14T16:28:59Z")

</div>

We haven’t heard back from you on this topic in a while. However, if you do need further assistance you can simply start a new conversation here on DevKinsta. Let us know if you need further assistance! 👋

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [April 14, 2021, 4:29pm UTC](https://community.kinsta.com/t/i-keep-getting-dk0027-error/447/4 "2021-04-14T16:29:09Z")

</div>


