I need some help setting up a new site on IIS7.
Using Visual Studio 2010 I've created a new ASP.NET web site in .NET Framework 4 C#,
I pointed the site to a local folder called "Test"
I made no changes to the default files.
I created a Folder "Test" on a drive e$ and then used the IIS Manager to "Add New Web Site"
I called the site "Test"
mapped it to my folder "Test" on e$
and under bindings I left the port unchanged,
kept the All Unassigned for the IP
and set the host header to testsite
I returned to VS2010 and used the build website command to publish the default files to my "Test" folder on e$ on the webserver.
Returned to IIS7 to check the folder and noted the files had been published successfully.
If I use f5 from VS I see the default.aspx page without problem but I assume from the url that I am viewing it on the VS built in host:
Because I am new to VS (just to complicate things) I also opened the site in Dreamweaver and used f12 to publish the "Default.aspx" page from there, at which point I get the standard 404 error:
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested URL: /Default.aspx
So the url in this case is http://testsite/Default.aspx
I can't figure out what I'm missing / doing wrong, I just want to be able to view the live page hosted on the web server.
can anyone advise?