# Panel not working on Digital Ocean

**URL:** <https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691>\
**Category:** Questions\
**Tags:** v2\
**Created:** [June 9, 2017, 3:13pm UTC](https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691 "2017-06-09T15:13:37Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![CallumND](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CallumND](https://forum.getkirby.com/u/CallumND)\
**Post date:** [June 9, 2017, 3:13pm UTC](https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691/1 "2017-06-09T15:13:37Z")

</div>

The Panel of my website is responding with a 500 error. Initially I had problems with the URLs as well, but resolved this following [this](https://forum.getkirby.com/t/kirby-on-digitalocean-lamp-urls-doesn-t-work/2007/10). How can I go about troubleshooting this issue. Many thanks.

---

<div class="post-metadata">

**Author:** ![victorberland](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/victorberland/32/5001_2.png) [@victorberland](https://forum.getkirby.com/u/victorberland)\
**Post date:** [June 9, 2017, 7:47pm UTC](https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691/2 "2017-06-09T19:47:37Z")

</div>

Make sure you have the .htaccess file on your server and that the server supports MOD\_REWRITE in Apache. The .htaccess file is by default invisible in both Mac OS and Windows, so it’s easy to forget it. You can copy the file from the Kirby starterkit on GitHub.

---

<div class="post-metadata">

**Author:** ![CallumND](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CallumND](https://forum.getkirby.com/u/CallumND)\
**Post date:** [June 9, 2017, 11:07pm UTC](https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691/3 "2017-06-09T23:07:17Z")

</div>

@victorberland thank you for replying, it’s much appreciated. The .htaccess is included and I believe I have enabled MOD\_REWRITE with the command `sudo a2enmod rewrite` which came up ‘Module rewrite already enabled’.

Using `sudo nano /etc/apache2/sites-available/mattelmer.co.uk.conf` I modified my VirtualHost file to:

```
<VirtualHost *:80>
        ServerAdmin email@gmail.com
        ServerName website.co.uk
        ServerAlias www.website.co.uk
        DocumentRoot /var/www/website.co.uk/public_html

        <Directory /var/www/website.co.uk/public_html>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride All
            Require all granted
        </Directory>

        ErrorLog ${APACHE_LOG_DIR}/error.log
        CustomLog ${APACHE_LOG_DIR}/access.log combined

        <IfModule mod_dir.c>
            DirectoryIndex index.php index.pl index.cgi index.html index.xhtml $
        </IfModule>
</VirtualHost>

```

Still greeted with the HTTP 500 Error. Could there by anything that I have to change in the .htaccess file?

---

<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:** [June 9, 2017, 11:08pm UTC](https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691/4 "2017-06-09T23:08:20Z")

</div>

Do subpages work correctly?

---

<div class="post-metadata">

**Author:** ![CallumND](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CallumND](https://forum.getkirby.com/u/CallumND)\
**Post date:** [June 9, 2017, 11:08pm UTC](https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691/5 "2017-06-09T23:08:43Z")

</div>

Yes, subpage URLs work fine

---

<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:** [June 9, 2017, 11:11pm UTC](https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691/6 "2017-06-09T23:11:57Z")

</div>

Have you seen this post: [Panel 500 Error](https://forum.getkirby.com/t/panel-500-error/6001)

---

<div class="post-metadata">

**Author:** ![CallumND](https://avatars.discourse-cdn.com/v4/letter/c/a5b964/32.png) [@CallumND](https://forum.getkirby.com/u/CallumND)\
**Post date:** [June 10, 2017, 3:50pm UTC](https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691/7 "2017-06-10T15:50:26Z")

</div>

Apologies, I should’ve seen that. Not installing php-mbstring was indeed the problem. Thanks for the swift reply

---

<div class="post-metadata">

**Author:** ![distantnative](https://dub1.discourse-cdn.com/flex017/user_avatar/forum.getkirby.com/distantnative/32/11319_2.png) [@distantnative](https://forum.getkirby.com/u/distantnative)\
**Post date:** [February 6, 2025, 5:25pm UTC](https://forum.getkirby.com/t/panel-not-working-on-digital-ocean/7691/9 "2025-02-06T17:25:49Z")

</div>

Archived on February 6, 2025, 5:25pm UTC


