View Full Version : How can I get my subdirectory with DotNetNuke 4 my default for domain
Paulym1967
08-09-2006, 04:48 AM
Probably an easy question, but I would like our domain to default to domainnaim\dotnetnuke and not display the dotnetnuke portion of the URL. Do I have to move the whole application to the root? I do not want to do this. Thanks a lot for your help.
Husko
08-09-2006, 06:10 AM
I can't answer your question but I would like to know the answer to this as well. Also, I was hoping you could tell me the URL you need to type into the browser to actually initiate the dnn 4 install.
Thanks.
bruce
08-09-2006, 06:14 AM
2 options
A) Move DNN to your site root
B) Put a redirect on your site root to redirect to the sub directory. The URL will still show the sub dir though.
I do not recommend you put DNN on your site root unless you do not intend to put any other applications in any subdirectory.
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
jyjohnson
09-06-2006, 03:15 AM
Why will option A not work for multiple applications in sub-folders?
The KB 10182article says:
[quote]
Every file and directory that is beneath the "starting point" directory in your Web site is considered part of the application until another "starting point" directory is found. </CODE>So that leads me to think DNN in the root + other web apps in sub-folders would work...
bruce
09-07-2006, 10:57 AM
This is because the web.config file is inherited from the site root down to all your sub directories.
DNN has a lot of settings in the web.config file that will likely cause conflict with your other appications. I guess it is a little extreme to say that all sub application will not work.
In order for you to get the sub application to behave properly, you will need to understand how DNN work completely andundo those settings in the web.config in the sub application.
Bruce
DiscountASP.NET
www.DiscountASP.NET (http://www.DiscountASP.NET)
vBulletin® ©Jelsoft Enterprises Ltd.