# Slim Framework and milti domain

**URL:** <https://discourse.slimframework.com/t/slim-framework-and-milti-domain/2674>\
**Category:** Questions\
**Created:** [September 17, 2018, 8:36pm UTC](https://discourse.slimframework.com/t/slim-framework-and-milti-domain/2674 "2018-09-17T20:36:53Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Homa](https://avatars.discourse-cdn.com/v4/letter/h/c4cdca/32.png) [@Homa](https://discourse.slimframework.com/u/Homa)\
**Post date:** [September 17, 2018, 8:36pm UTC](https://discourse.slimframework.com/t/slim-framework-and-milti-domain/2674/1 "2018-09-17T20:36:53Z")

</div>

Hello, I use Slim framework and Blade-template. I want use one framework for many simple sites  
For example:  
[Shop1.com](http://Shop1.com) -\> theme [shop1]  
[Shop2.com](http://Shop2.com) -\> theme [shop2]

All shops have same path and functions

How I can use route for my tasks? Any ideas?

---

<div class="post-metadata">

**Author:** ![marcelloh](https://yyz2.discourse-cdn.com/flex030/user_avatar/discourse.slimframework.com/marcelloh/32/404_2.png) [@marcelloh](https://discourse.slimframework.com/u/marcelloh)\
**Post date:** [September 19, 2018, 11:54am UTC](https://discourse.slimframework.com/t/slim-framework-and-milti-domain/2674/2 "2018-09-19T11:54:05Z")

</div>

I think you can make something with this:  
[http://php.net/manual/en/function.parse-url.php](http://php.net/manual/en/function.parse-url.php)
