# Internal 500 error when rooting to /shopware/public - trying to open page with ip address

**URL:** <https://forum.shopware.com/t/internal-500-error-when-rooting-to-shopware-public-trying-to-open-page-with-ip-address/70544>\
**Category:** Installation / Getting Started (EN)\
**Created:** [30. Oktober 2020 um 07:44 UTC](https://forum.shopware.com/t/internal-500-error-when-rooting-to-shopware-public-trying-to-open-page-with-ip-address/70544 "2020-10-30T07:44:31Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![dp01100100](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@dp01100100](https://forum.shopware.com/u/dp01100100)\
**Post date:** [30. Oktober 2020 um 07:44 UTC](https://forum.shopware.com/t/internal-500-error-when-rooting-to-shopware-public-trying-to-open-page-with-ip-address/70544/1 "2020-10-30T07:44:31Z")

</div>

Hi - I’ve installed Shopware 6, and when I put the ServerName from the shopware.conf in the browser shopware opens fine.

What I want to achieve is that when I put my ip address in, it opens to the shopware page. The reason for this is I want to open this from a 2nd VM using just the ip address for now.  
(( I can ping and connect to the ip address - that is working fine.))

The default appache .conf file, when the DocRoot is set to /var/www/html/test will open the index.html in that Dir, but when set to /var/www/html/shopware/public - it brings a 500 internal server error.

When the default is left as default, with the ip address I get the apache default.

Apache is working fine, I feel like I’ve narrowed it down to the shopware directories, and either the .htaccess needs changing, or the index.php in the /shopware/public dir is preventing this.  
&nbsp;

I’ve been all through the forums and I can’t find any answer. I’ve changed the permissions from the directories to 755, files to 644.

If anyone can help, that would be amazing.

thanks in advnace

---

<div class="post-metadata">

**Author:** ![User10010101](https://avatars.discourse-cdn.com/v4/letter/u/b5ac83/32.png) [@User10010101](https://forum.shopware.com/u/User10010101)\
**Post date:** [2. November 2020 um 10:00 UTC](https://forum.shopware.com/t/internal-500-error-when-rooting-to-shopware-public-trying-to-open-page-with-ip-address/70544/2 "2020-11-02T10:00:54Z")

</div>

I’ve got the same issue on Shopware 6 where I can’t access the storefront from an IP address.

I’ve installed Shopware using Dockware, where the admin panel works fine, but the storefront doesn’t.

&nbsp;

Is this a problem in Shopware 6?

---

<div class="post-metadata">

**Author:** ![dp01100100](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@dp01100100](https://forum.shopware.com/u/dp01100100)\
**Post date:** [2. November 2020 um 10:05 UTC](https://forum.shopware.com/t/internal-500-error-when-rooting-to-shopware-public-trying-to-open-page-with-ip-address/70544/3 "2020-11-02T10:05:48Z")

</div>

I had the docker installation but had the same problem, you need to be looking to how to contact the container IP but I couldn’t figure it out.

So I went for an installation without docker yet I’m still stuck.

---

<div class="post-metadata">

**Author:** ![User10010101](https://avatars.discourse-cdn.com/v4/letter/u/b5ac83/32.png) [@User10010101](https://forum.shopware.com/u/User10010101)\
**Post date:** [2. November 2020 um 13:37 UTC](https://forum.shopware.com/t/internal-500-error-when-rooting-to-shopware-public-trying-to-open-page-with-ip-address/70544/4 "2020-11-02T13:37:34Z")

</div>

I’ve opened an issue on Github: [Storefront not accessible trough IP in Shopware 6 · Issue #1475 · shopware/platform · GitHub](https://github.com/shopware/platform/issues/1475)

Hopefully there’s a quicker reply on there about how to resolve this issue; feel free to add details of your problem in the comments there.

---

<div class="post-metadata">

**Author:** ![dp01100100](https://avatars.discourse-cdn.com/v4/letter/d/f9ae1b/32.png) [@dp01100100](https://forum.shopware.com/u/dp01100100)\
**Post date:** [2. November 2020 um 13:46 UTC](https://forum.shopware.com/t/internal-500-error-when-rooting-to-shopware-public-trying-to-open-page-with-ip-address/70544/5 "2020-11-02T13:46:17Z")

</div>

I’m pretty sure with your issue though, is that its less with Shopware - and more to not being able to access the docker containers ip address outside of your local environment with out some work-around.

---

<div class="post-metadata">

**Author:** ![ThomasChr](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/thomaschr/32/10466_2.png) [@ThomasChr](https://forum.shopware.com/u/ThomasChr)\
**Post date:** [8. Dezember 2020 um 21:34 UTC](https://forum.shopware.com/t/internal-500-error-when-rooting-to-shopware-public-trying-to-open-page-with-ip-address/70544/6 "2020-12-08T21:34:40Z")

</div>

As&nbsp;told in the Github Issue you need to add your (servers) IP address as a Sales Channel. Shopware does only show up on URLs which are definied as a Sales Channel. All other URLs throw 500 at you.
