bmatias

New Member
Joined
Feb 21, 2019
Messages
5
Hi,



I have a Windows Server 2008 R2 with IIS 6.2 with a default website published.

I have a url that is binded to the webserver, and when I access http://www.siteurl.com, I can reach the default page.

But I have a subfolder that I need to access a website but through url (www.siteurl.com/abc/def).

When I go with IP (internal - 192.168.x.x/abc/def or external - 111.111.111.111/abc/def), I can reach the webpage, but when I try http://www.siteurl.com/abc/def from outside I get an error that "The requested URL /abc/def/ was not found on this server.".

This is driving me crazy...

What can this be? What o I need to do to fix this dns/url/whatever misconfiguration?



Thanks a lot.



BM
 


Solution
Ok and you did mention the binding is setup and that works. Is /abc/def in the same physical path as the root default document and the group IIS_IUSRS has proper rights on that directory structure?
Is there a default document defined there?
 


Is there a default document defined there?
Yes... there is... that's why when i access using the ip address i get the expected result... but accessing by name, it's gives the error...
 


Does the URL work internally?
 


Ok and you did mention the binding is setup and that works. Is /abc/def in the same physical path as the root default document and the group IIS_IUSRS has proper rights on that directory structure?
 


Solution
And also have you looked at the iis logs and event viewer?
 


The event viewer and iis logs don't say anything usefull...
The folder has the correct permissions, and are subfolder of the root folder. So they inherited the permissions.
 


Do you have any kind of url redirection or header transforms?
 


Do you have any kind of url redirection or header transforms?
No... nothing of that...
I'm thinking it mmight be something related with binding or permissions for subfolders websites... but i can't reach any configuration refered to it...
 


I'd say it isn't a permission issue if you can access it by IP. The binding is more likely. I don't deal with a ton of IIS and I don't if there are others on here. You may want to pose your question specifically on an IIS forum.

This will probably be the best place to ask.
IIS.NET Forums : The Official Microsoft IIS Forums
 


Back
Top