03-02-04 03:36 PM
Hello All,
I'm facing an issue with some short links in my production box. I've
created a few subdirectories under the wwwroot and those have a
default.aspx as the default document which finally does a redirect to
the target page. This works fine as long as I type www in the URL. The
DNS guys have set www.mydomain.com as well as mydomain.com (without
the www) to resolve to the same IP address. This also works fine as
long as it is just the home page. ie, if I type just mydomain.com or
www.mydomain.com, it will show the home page of www.mydomain.com.
The issue is, when I try to use the subdirectories, mydomain.com
(without the www) fails. ie: http://www.mydomain.com/abc works fine,
http://mydomain.com/abc does not work - it throws a 404 page error.
The error page which shows up is
http://www.mydomain.com/Pagenotfoun...abcdefault.aspx
(if you notice, the aspxerrorpath is abcdefault.aspx wherein it
should've been trying to access abc/default.aspx).
Any idea how to resolve this ? Is there any settings in the IIS which
I should be checking ? Or do I need to add another application in
Commerce Server Manager (for mydomain.com) ?
Thanks
Sabari.
[ Post a follow-up to this message ]
|