title: Laravel: Wildcard Subdomain Routing not working
body: <p><br>
  So i'm making a web app using Laravel framework where user can create their own personalized profile page. I want to use sub domain as a user profile page but it is not working.
  <br>I'm using this in my routes file:</p>
  
  <pre><code>Route::domain('{account}.portfolioof.me')-&gt;group(function () {
      Route::get('/',[
          'as' =&gt; 'user.portfolio',
          'uses' =&gt; 'PortfolioController@getPortfolio'
      ]);
  });
  </code></pre>
  
  <p>But the problem is that the index page shows the index of my main website and not the user profile. but if i do Route::get('/somethingelse'), it works and displays the intended content. I want the index page to be user profile and not my main website index.</p>
  
  <p>This is my apache-vhost config for this site</p>
  
  <pre><code>&lt;VirtualHost *:80&gt;
      DocumentRoot "C:/xampp2/htdocs/portfolioof.me/public"
      ServerName portfolioof.me
      ServerAlias *.portfolioof.me
  &lt;/VirtualHost&gt;
  </code></pre>
  
  <p>Any help would be appreciated. Thanks</p>