title: Static and Wildcard Laravel Sub Domain
body: <p>i want to make a website that each user have own subdomain in my site. but beside that, i need subdomain for manage my website.</p>
  
  <p>so, what i need is:</p>
  
  <pre><code>mysite.com  ---&gt; main web
  admin.mysite.com  ---&gt; for administrator my web
  blog.mysite.com  ---&gt; for artikel my web
  member.mysite.com  ---&gt; for main account
  *.mysite.com  ---&gt; for users
  </code></pre>
  
  <p>im using laravel 5.4
  so, how i can write on my route?</p>
  
  <pre><code>Route::group(array('domain' =&gt; '{subdomain}.mysite.com'), function() {
      //
  });
  </code></pre>
  
  <p>thanks before.</p>