Click here to Skip to main content
15,892,005 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

I usually set up all my projects in VS2013 the same way:

Say I have a project for www.XYZ.com:
1: Edit hosts file:
2: Add "127.0.0.1 dev.XYZ.MyCompanyName.com"
3: In WebApp properties under Web:
4: Use Local IIS
5: Project URL set to "http://dev.XYZ.MyCompanyName.com"
6: Hit CreateVirtualDirectory

I'm trying the same with VS 2015 but I get the error:
Unable to create the virtual directory. The Web server 'http://dev.XYZ.MyCompanyName.com' could not be found.

I have to do this as I often use different subdomains for different portals

Am I doing it wrong or has this changed from VS2013 to VS2015? Maybe it's a bug?

Thanks ^_^
Andy
Posted

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900