# Install Kirby on a sub folder on a live domain

**URL:** <https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601>\
**Category:** Questions\
**Tags:** v3\
**Created:** [January 31, 2019, 7:15pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601 "2019-01-31T19:15:23Z")\
**Posts on this page:** 11\
**Page:** 1

<div class="post-metadata">

**Author:** ![eduard-ungureanu](https://avatars.discourse-cdn.com/v4/letter/e/f0a364/32.png) [@eduard-ungureanu](https://forum.getkirby.com/u/eduard-ungureanu)\
**Post date:** [January 31, 2019, 7:15pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/1 "2019-01-31T19:15:23Z")

</div>

Hi guys, I hope you can help a noob like me. I have downloaded the Plain starter pack, I have to say that out of the box there are no `.htaccess` file in my unzipped folder (and yes I made sure that the hidden file is shown).

Next, I did login using FileZilla to my FTP server created a new folder in the root called `kirby` and uploaded all the files that were in the Plain starter pack zip file.

 ![27](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/9/900c414da851fc79cc50b9fb5cdd9699ea588975.png)

Now I’m trying to access the homepage sort of speak by going to: `http://wordpress-corner.com/kirby/` and I only get this:  
[![](https://dl.dropboxusercontent.com/s/pmighm44etuvspq/Screenshot%202019-01-31%2021.12.49.png?dl=0) ](https://dl.dropboxusercontent.com/s/pmighm44etuvspq/Screenshot%202019-01-31%2021.12.49.png?dl=0)

Also If I try to access the panel which from the doc it should be `http://wordpress-corner.com/kirby/panel` - I get 404 - page not found.

Any assistance would really be appreciated.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [January 31, 2019, 7:30pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/2 "2019-01-31T19:30:10Z")

</div>

Looks like you didn’t upload the .htaccess file which is part of the Plainkit zip ( I just downloaded it myself to check, so it’s definitely there).

---

<div class="post-metadata">

**Author:** ![eduard-ungureanu](https://avatars.discourse-cdn.com/v4/letter/e/f0a364/32.png) [@eduard-ungureanu](https://forum.getkirby.com/u/eduard-ungureanu)\
**Post date:** [January 31, 2019, 7:34pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/3 "2019-01-31T19:34:14Z")

</div>

Thanks a lot for your reply, I was going to update this topic. For some reasons the command in mac os to show hidden file didn’t work, however when I did browse the unzipped file using FileZilla I did saw the `.htaccess` file.

So I was able to browse the `panel` once I was there I get a different issue searching the forum I found that in `site/config/config.php` I should add a line of code. The problem was that the `cofing` folder was totally missing.

I have created the `config` folder inside the `site` folder, created the `config.php` file and placed this PHP code:

```auto
<?php

return [
    'debug' => true,
    'panel' => true,
    'panel.install' => true
];

```

To bad I didn’t find this information in the troubleshooting guide. I mean not everyone would install even the test version on a local set-up, so I think general information on how to set this up on a live server and even in a sub-folder with all the steps that a user (new ) should take should really be easy to find.

Anyway, thanks for your quick response.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [January 31, 2019, 7:38pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/4 "2019-01-31T19:38:32Z")

</div>

You are right, that’s missing, I created an issue to add this information to the installation guide.

---

<div class="post-metadata">

**Author:** ![honeybeecomb](https://avatars.discourse-cdn.com/v4/letter/h/3e96dc/32.png) [@honeybeecomb](https://forum.getkirby.com/u/honeybeecomb)\
**Post date:** [November 23, 2023, 5:36pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/5 "2023-11-23T17:36:11Z")

</div>

Even though this topic is super old, I am having the same issue:

I could now find the .htaccess file and uploaded it.

But all I get is a “404 Not Found”.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 23, 2023, 5:56pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/6 "2023-11-23T17:56:01Z")

</div>

> [@honeybeecomb](#):
>
> But all I get is a “404 Not Found”.

When trying to access any link but the homepage, I guess.

Are you on an Apache server at all?  
If yes, if you put any rubbish into the .htaccess, do you get an error or same behavior as before?  
If you don’t get an error, the .htaccess is simply ignored.

---

<div class="post-metadata">

**Author:** ![honeybeecomb](https://avatars.discourse-cdn.com/v4/letter/h/3e96dc/32.png) [@honeybeecomb](https://forum.getkirby.com/u/honeybeecomb)\
**Post date:** [November 23, 2023, 6:16pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/7 "2023-11-23T18:16:55Z")

</div>

![Bildschirmfoto 2023-11-23 um 19.15.29](https://europe1.discourse-cdn.com/flex017/uploads/getkirby/original/2X/a/a17283fb14cf5d0fee52dcf5e20a8accee9fcb15.png)

What am I supposed to put into the .htaccess?

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 23, 2023, 6:22pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/8 "2023-11-23T18:22:19Z")

</div>

Wait, could you be more elaborate, please and answer all question.

The error we are seing here already appears on the startpage. Only after adding something to .htacess or already before?

If the error already happens on the homepage **before** you added rubbish to the .htaccess, then the problem is **not** due to a missing `htaccess` file.

---

<div class="post-metadata">

**Author:** ![honeybeecomb](https://avatars.discourse-cdn.com/v4/letter/h/3e96dc/32.png) [@honeybeecomb](https://forum.getkirby.com/u/honeybeecomb)\
**Post date:** [November 23, 2023, 8:52pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/9 "2023-11-23T20:52:09Z")

</div>

Yes, I am on an Apache server.

I did not add anything to .htaccess – including not adding rubbish. The instructions did not mention adding anything to .htaccess, so I didn’t. So, to answer your question: _already before_.

---

<div class="post-metadata">

**Author:** ![texnixe](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/texnixe/32/5754_2.png) [@texnixe](https://forum.getkirby.com/u/texnixe)\
**Post date:** [November 23, 2023, 9:12pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/10 "2023-11-23T21:12:39Z")

</div>

Well, let’s test something simple. Remove the kirby project again and just put an index.php with just a simple php echo statement in there.

---

<div class="post-metadata">

**Author:** ![honeybeecomb](https://avatars.discourse-cdn.com/v4/letter/h/3e96dc/32.png) [@honeybeecomb](https://forum.getkirby.com/u/honeybeecomb)\
**Post date:** [November 23, 2023, 9:28pm UTC](https://forum.getkirby.com/t/install-kirby-on-a-sub-folder-on-a-live-domain/12601/11 "2023-11-23T21:28:12Z")

</div>

Thank you for the consistent replies.

I am slowly getting there. Now, I get a screen from Kirby that says that my website is currently offline. The panel-link does the same:

> This page is currently offline. We are very sorry for the inconvenience and will fix it as soon as possible. Advice for developers and administrators: Change the PHP version to one supported by your version of Kirby

Any advice? In my settings, it says the PHP configuration now is 8.0

/// I have now figured it out with the instructions @eduard-ungureanu mentioned above!
