<p>As of this comment, Craft 3 is still in beta but you may want to consider it as your challenge sounds like the new Sites functionality may be a good fit.</p>

<p>Sites, allow you to manage multiple websites and multiple languages in one Craft installation. You can find a longer discussion and some examples here: 
<a href="https://straightupcraft.com/events/managing-multiple-sites-in-craft-3-sites-and-localization" rel="nofollow noreferrer">Managing Multiple Sites in Craft 3 – Sites and Localization</a></p>

<p>You could create a Site for each combo of Garage and Language that you need to manage. For example:</p>

<ul>
<li>Garage 1 - French</li>
<li>Garage 1 - German</li>
<li>Garage 2 - French</li>
<li>Garage 2 - German</li>
</ul>

<p>The blog and other sections for each of these sites could be managed under one channel. Admin users would be able to switch between each subsite just as they switch between locales when editing an entry. User Groups could be created for each subsite as well as the permissions in Craft 3 will allow you to restrict a users access to a specific subsite.</p>

<p>You can read more about how to configure each site in this <a href="https://craftcms.com/docs/localization-guide" rel="nofollow noreferrer">Localization Guide</a> in the Craft docs. You'll need to configure a couple of files for each site and make sure your DNS is pointing to the right place for each subdomain. But once you get those items setup, you should be able to use the same templates for all of the different sites and languages.</p>

CC BY-SA 3.0
2017-10-09T19:47:52.997Z
Craft 3 does seem to be the way to go for this project. After trying to find other ways to do this (because craft 3 is still in beta) it does seem like the most viable option for me to go with. Thank you for the information!
Mosh
CC BY-SA 3.0
2017-09-30T03:36:40.130Z
2017-09-30T03:36:40.130Z
Ben Parizek
<p>I have to make a website that has a single craft installation and one database. </p>

<p>Now the site is for a company that owns several garages which should have their own subsite on a subdomain. It should all be multilingual and those subsite/subdomains would have single pages as well as channels for <code>used cars</code> or <code>new cars</code>.</p>

<p>Now what I'm wondering is how to set up those subsites. 
Their url structure should be like <code>http://subsite.domain.com/{lang}/{single-page}</code> or <code>http://subsite.domain.com/{lang}/blog/{slug}</code></p>

<p>I was thinking maybe using a structure per subsite to keep all the content uncluttered in the dashboard and creating a channel for each subsite <code>blog</code>, <code>used cars section</code> and <code>new cars section</code>.</p>

<p>But I'm not really sure what the best way to set this up would be or even how to point the pages/channels to a subdomain.</p>

<p>Would I have to create new multi-environmont configs for each subsite or is there a way to do this automatically or maybe that's not even necessary? </p>

<p>Each subsite will also have users who can only edit that specific subsite. (Maybe something to keep in mind when structuring the site)</p>

<p>Here's a  little diagram that might help show what I'm looking for:
<a href="https://i.sstatic.net/Of6ne.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/Of6ne.png" alt="enter image description here"></a></p>

<p>Of course I'll be using craft pro for the languages and users.</p>

<p>Any help and tips would be much appreciated.
(Feel free to ask for more information if necessary)</p>

<p>Thank you very much in advance</p>

<multi-environment><multi-domain><multi-site><subdomain>
Structuring site with multiple subsites
# Structuring site with multiple subsites

(Asked by: username_0 on 2017-09-09)

I have to make a website that has a single craft installation and one database.

Now the site is for a company that owns several garages which should have their own subsite on a subdomain. It should all be multilingual and those subsite/subdomains would have single pages as well as channels for `used cars` or `new cars`.

Now what I'm wondering is how to set up those subsites.
Their url structure should be like `http://subsite.domain.com/{lang}/{single-page}` or `http://subsite.domain.com/{lang}/blog/{slug}`

I was thinking maybe using a structure per subsite to keep all the content uncluttered in the dashboard and creating a channel for each subsite `blog`, `used cars section` and `new cars section`.

But I'm not really sure what the best way to set this up would be or even how to point the pages/channels to a subdomain.

Would I have to create new multi-environmont configs for each subsite or is there a way to do this automatically or maybe that's not even necessary?

Each subsite will also have users who can only edit that specific subsite. (Maybe something to keep in mind when structuring the site)

Here's a little diagram that might help show what I'm looking for:
[![enter image description here](https://i.sstatic.net/Of6ne.png)](https://i.sstatic.net/Of6ne.png)

Of course I'll be using craft pro for the languages and users.

Any help and tips would be much appreciated.
(Feel free to ask for more information if necessary)

Thank you very much in advance

**Tags:** multi-environment, multi-domain, multi-site, subdomain


---

## 1 answers

### Answer by username_1 on 2017-09-30. Score: 1 | Accepted answer

As of this comment, Craft 3 is still in beta but you may want to consider it as your challenge sounds like the new Sites functionality may be a good fit.

Sites, allow you to manage multiple websites and multiple languages in one Craft installation. You can find a longer discussion and some examples here:
[Managing Multiple Sites in Craft 3 – Sites and Localization](https://straightupcraft.com/events/managing-multiple-sites-in-craft-3-sites-and-localization)

You could create a Site for each combo of Garage and Language that you need to manage. For example:

* Garage 1 - French
* Garage 1 - German
* Garage 2 - French
* Garage 2 - German

The blog and other sections for each of these sites could be managed under one channel. Admin users would be able to switch between each subsite just as they switch between locales when editing an entry. User Groups could be created for each subsite as well as the permissions in Craft 3 will allow you to restrict a users access to a specific subsite.

You can read more about how to configure each site in this [Localization Guide](https://craftcms.com/docs/localization-guide) in the Craft docs. You'll need to configure a couple of files for each site and make sure your DNS is pointing to the right place for each subdomain. But once you get those items setup, you should be able to use the same templates for all of the different sites and languages.

> **Comments:**
> **username_0**: Craft 3 does seem to be the way to go for this project. After trying to find other ways to do this (because craft 3 is still in beta) it does seem like the most viable option for me to go with. Thank you for the information!  

---

