I successfully installed Craft locally and my primary site is up and running, but when I add a new site with it's own base URL I cannot access it due to a HTTP 503 error.
I've tried various combinations of environment variables and aliases for the URL, and for now I just added the base URL directly in the CP (anotherdomain.locahost).
I also played around with various vhosts settings in XAMPP (Win 10) to no avail. It seems to me that the vhost is properly configured.
Here is my stack trace, any help would be much appreciated.
2020-01-21 15:07:49 [-][-][-][trace][yii\web\Application::handleRequest] Route requested: 'templates/render'
2020-01-21 15:07:49 [-][-][-][trace][yii\base\Controller::runAction] Route to run: templates/render
2020-01-21 15:07:49 [-][-][-][error][yii\web\HttpException:503] craft\web\ServiceUnavailableHttpException in D:\Web\dev\folder\vendor\craftcms\cms\src\web\Controller.php:163
Stack trace:
#0 D:\Web\dev\folder\vendor\craftcms\cms\src\controllers\TemplatesController.php(72): craft\web\Controller->beforeAction(Object(yii\base\InlineAction))
#1 D:\Web\dev\folder\vendor\yiisoft\yii2\base\Controller.php(155): craft\controllers\TemplatesController->beforeAction(Object(yii\base\InlineAction))
#2 D:\Web\dev\folder\vendor\craftcms\cms\src\web\Controller.php(187): yii\base\Controller->runAction('render', Array)
#3 D:\Web\dev\folder\vendor\yiisoft\yii2\base\Module.php(528): craft\web\Controller->runAction('render', Array)
#4 D:\Web\dev\folder\vendor\craftcms\cms\src\web\Application.php(299): yii\base\Module->runAction('templates/rende...', Array)
#5 D:\Web\dev\folder\vendor\yiisoft\yii2\web\Application.php(103): craft\web\Application->runAction('templates/rende...', Array)
#6 D:\Web\dev\folder\vendor\craftcms\cms\src\web\Application.php(284): yii\web\Application->handleRequest(Object(craft\web\Request))
#7 D:\Web\dev\folder\vendor\yiisoft\yii2\base\Application.php(386): craft\web\Application->handleRequest(Object(craft\web\Request))
#8 D:\Web\dev\folder\web\index.php(21): yii\base\Application->run()
#9 {main}