When I first started Visual Studio 2017 after a clean installation I got the error:
Unable to start debugging on the web server. IIS does not list a web site that matches the launched URL.
When debugging a new asp.net project.
Turns out I was not running Visual Studio 2017 as Administrator.
To fix this see: