AlanWeir Thank you for your question.
I assume you have a web server (Apache or IIS) already configured for your website with webroot in .../htdocs.
I would suggest changing the project startup option so it will use the already running web server on localhost. Go to Project -> Properties -> Server, and choose Custom:

When running the website from Visual Studio, by default, it starts its own web server and you need to specify the web root (in Project -> Properties -> Web Root).
