# Can you use 2 different domains in Shopware 6 with one admin panel?

**URL:** https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590
**Category:** General Questions (EN)
**Created:** [18. März 2020 um 18:49 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590 "2020-03-18T18:49:17Z")
**Posts on this page:** 14
**Page:** 1

<div class="post-metadata">

### Author: ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)
#### Post date: [18. März 2020 um 18:49 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/1 "2020-03-18T18:49:17Z")

</div>

Is it possible to have to different domains like: [example.com](http://example.com) and [2ndexample.com](http://2ndexample.com) not subdomains but two distinct domains use a single admin page?

Is it done through sales channels?

On which domain should the shop be installed and how is it configured ?

---

<div class="post-metadata">

### Author: ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)
#### Post date: [18. März 2020 um 19:10 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/2 "2020-03-18T19:10:29Z")

</div>

It’s possible and done by sales channels as you already said.

Both domains have to point to the same webspace where Shopware is installed.

---

<div class="post-metadata">

### Author: ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)
#### Post date: [18. März 2020 um 19:14 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/3 "2020-03-18T19:14:04Z")

</div>

Do you mean that 2 domains should use the same folder?

---

<div class="post-metadata">

### Author: ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)
#### Post date: [18. März 2020 um 22:42 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/4 "2020-03-18T22:42:01Z")

</div>

Exactly. Shopware will display the correct sales channel automatically.

---

<div class="post-metadata">

### Author: ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)
#### Post date: [19. März 2020 um 15:11 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/5 "2020-03-19T15:11:18Z")

</div>

So if I point the two urls to 1 folder, they will automaticall be shown as 2 sales channels ? Or should they&nbsp;be created manually ?

---

<div class="post-metadata">

### Author: ![simkli](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/simkli/32/13124_2.png) [@simkli](https://forum.shopware.com/u/simkli)
#### Post date: [20. März 2020 um 06:43 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/6 "2020-03-20T06:43:00Z")

</div>

You need to create them.&nbsp;

---

<div class="post-metadata">

### Author: ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)
#### Post date: [20. März 2020 um 10:28 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/7 "2020-03-20T10:28:37Z")

</div>

An error is shown on the 2nd domain, however I have created a new channel for the 2nd domain as well, both with http and https:

**Unable to find a matching sales channel for the request: [http://2nddomain.test.com/](http://2nddomain.test.com/)". Please make sure the domain mapping is correct.**

&nbsp;

---

<div class="post-metadata">

### Author: ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)
#### Post date: [20. März 2020 um 10:43 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/8 "2020-03-20T10:43:02Z")

</div>

![](https://europe1.discourse-cdn.com/flex013/uploads/shopware/original/2X/0/0bfe6c520dcdaf98a72c731bc59edab41f7bee45.png)

---

<div class="post-metadata">

### Author: ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)
#### Post date: [20. März 2020 um 11:05 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/9 "2020-03-20T11:05:56Z")

</div>

@simkli‍ do you know what is done wrong here?

---

<div class="post-metadata">

### Author: ![Moritz\_Naczenski](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.shopware.com/moritz_naczenski/32/7792_2.png) [@Moritz\_Naczenski](https://forum.shopware.com/u/Moritz_Naczenski)
#### Post date: [20. März 2020 um 14:57 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/10 "2020-03-20T14:57:42Z")

</div>

perhaps you need to activate the new sales channel?

---

<div class="post-metadata">

### Author: ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)
#### Post date: [20. März 2020 um 17:23 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/11 "2020-03-20T17:23:37Z")

</div>

You were absolutely right! Thanks.

---

<div class="post-metadata">

### Author: ![supmanu](https://avatars.discourse-cdn.com/v4/letter/s/b487fb/32.png) [@supmanu](https://forum.shopware.com/u/supmanu)
#### Post date: [11. Oktober 2020 um 07:52 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/12 "2020-10-11T07:52:12Z")

</div>

In this case of 2 domains/2 sale channels under one Shopware admin, the database is shared or separated?

---

<div class="post-metadata">

### Author: ![davit\_sargsyan](https://avatars.discourse-cdn.com/v4/letter/d/7ba0ec/32.png) [@davit\_sargsyan](https://forum.shopware.com/u/davit_sargsyan)
#### Post date: [11. Oktober 2020 um 08:27 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/13 "2020-10-11T08:27:27Z")

</div>

Sure it is shared @supmanu‍

---

<div class="post-metadata">

### Author: ![shopware1](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@shopware1](https://forum.shopware.com/u/shopware1)
#### Post date: [4. November 2020 um 17:57 UTC](https://forum.shopware.com/t/can-you-use-2-different-domains-in-shopware-6-with-one-admin-panel/65590/14 "2020-11-04T17:57:33Z")

</div>

Yes it is possible. But pay attention to a fact, which is that you have to put them under one Shopware.
