# \[gelöst\] Shopware in subfolder redirects back to root

**URL:** https://forum.shopware.com/t/gelost-shopware-in-subfolder-redirects-back-to-root/45264
**Category:** Installation/Einstieg
**Created:** [17. April 2017 um 10:23 UTC](https://forum.shopware.com/t/gelost-shopware-in-subfolder-redirects-back-to-root/45264 "2017-04-17T10:23:05Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Hubsi3](https://avatars.discourse-cdn.com/v4/letter/h/8baadc/32.png) [@Hubsi3](https://forum.shopware.com/u/Hubsi3)
#### Post date: [17. April 2017 um 10:23 UTC](https://forum.shopware.com/t/gelost-shopware-in-subfolder-redirects-back-to-root/45264/1 "2017-04-17T10:23:05Z")

</div>

Hallo zusammen!

Ich bin neu hier und habe mir vor ein paar Tagen Shopware installiert.

Soweit ist alles gut, jedoch habe ich ein Problem.

Mein Server ist vom Hoster so eingestellt, dass Subdomains automatisch funktionieren,&nbsp;wie [subdomain.domain.de](http://subdomain.domain.de) -\> [domain.de/subdomain/](http://domain.de/subdomain/)&nbsp;

Soweit klappt das auch immer. Nur mit shopware funktioniert das nicht. Ich habe Shopware in den Ordner [domain.de/shop](http://domain.de/shop) installiert. Nun will ich die Subdomain [shop.domain.de](http://shop.domain.de) für meinen shop verwenden, allerdings werde ich immer wieder einfach auf die Startseite meiner Website umgeleitet, also in das Rootverzeichnis zu index.html.

Wenn ich allerdings im Ordner Shop die Datei index.html erstelle, funktioniert die Subdomain [shop.domain.de](http://shop.domain.de), und die Index wird mir angezeigt.

Sobald ich diese wieder lösche, werde ich mit [shop.domain.de](http://shop.domain.de) nur wieder auf meine Startseite umgeleitet.

Ich hab schon die beiden htaccess Dateien (im Root und in der Shopware Installation)&nbsp;komplett geleert, aber der Fehler besteht weiterhin.

Ich hoffe ihr könnt mir weiterhelfen.

Danke im voraus 🙂

&nbsp;

---

<div class="post-metadata">

### Author: ![Hubsi3](https://avatars.discourse-cdn.com/v4/letter/h/8baadc/32.png) [@Hubsi3](https://forum.shopware.com/u/Hubsi3)
#### Post date: [17. April 2017 um 11:04 UTC](https://forum.shopware.com/t/gelost-shopware-in-subfolder-redirects-back-to-root/45264/2 "2017-04-17T11:04:34Z")

</div>

Konnte das Problem nun selbst lösen. In den Grundeinstellungen \> Shopeinstellungen \> Shops&nbsp;war als Host [domain.de](http://domain.de) und nicht [shop.domain.de](http://shop.domain.de) eingetragen. Deshalb hat das ganze nicht geklappt.
