views:

28

answers:

2

I am trying to get a demo site for a client setup. This is the 1st application my company is doing in MVC.NET, so I get to experience all the new things to find out (and all the headaches it'll cause).

Anyway, the site works fine locally (localhost) and on the server inside our domain. External users not on the domain however, only get 404 errors. I've tried several different settings/ config options I've found on this site, but nothing is working. I don't know if it's a web.config issue or an IIS issue, or even simply a permissions issue (though it has all the same permissions as the other sites we run with Web Forms).

IIS: v7 in intergrated mode. Windows Server Web

A: 

Well, because you received a 404, the server is being reached okay which is a good sign. (Dealing with firewall issues at a company is always a lot of fun.)

A common problem for something like this is the use of virtual directories to host the website. For example, if the address to your site is http://example.com/MySite/, in MVC that would translate to: /MySite/View/Index.aspx. HOWEVER...if you are using virtual folders, /MySite/ may instead point to another spot on the server (e.g. C:\WebSites\MySite). If you are indeed using virtual paths, make sure you have your files stored at the correct path.

There is a troubleshooting tutorial here: http://support.microsoft.com/kb/248033

JasCav
we have our environment setup to not use virtual directories. our drive name is like this: z:\projects\projectName\www we server our demo sites like this: projectName.demo.companyName.com
Wayne W.
I can browse to the URL projectName.demo.companyName.com from my work computer (everyone at work can), however, people outside of our domain get the 404.
Wayne W.