2017-01-23 91 views
1

我目前使用IIS服務器在laravel上運行一個網站。我想在同一臺服務器上同時運行另一個應用程序(網站)。我怎樣才能在同一臺服務器上運行多個應用程序?Laravel - 如何在單個iis服務器上運行多個laravel應用程序

我使用PHP你能解釋一下我怎麼能做到這一點在PHP

+2

在IIS中創建多個站點。 – Styphon

+3

[在IIS中從一個IP運行多個站點]的可能重複(http://stackoverflow.com/questions/13489768/run-multiple-sites-from-one-ip-in-iis) – Styphon

回答

1

你可以使用域的路由像

Route::group(['domain' => 'exampledomain.com'], function() { 

your routes for this domain here. 

}); 

Route::group(['domain' => 'exampledomain2.com'], function() { 

your routes for this domain here. 

});` 
相關問題