I want to set up multi domains in my laravel 5.1.

I have 3 different domains

www.domain1.com  

www.domain2.com  

www.domain3.com  

every domain will have some common functionality and some different functionality but with different themes

i want my view structure like that

```
resource/www.domain1.com
resource/www.domain2.com
resource/www.domain3.com

```

> 
> i am unable to separate views how can i achieve this?
> 
> 
> 

\*\*