Another developer and I share a virtual dedicated server with numerous sites on it, 5 of which use DNN. I tried to use the host's Plesk interface to auto setup my first DNN site (v3.?) which installs a DNN instance and database for each domain. During the setup it required me to enter the subfolder where DNN should be installed, so I entered "dnn". The installation completed perfectly and the site seems to work just fine, however I have to use www.mysite.com/dnn to access it. What I want is to point the site root to the dnn folder I was forced to create. So I opened IIS and repointed the home directory of the site to the dnn folder. Now however I get the following error on Line 43 of my web.config:
Configuration Error
Parser Error Message: The module 'UrlRewrite' is already in the application and cannot be added again
Source Error:
Line 41: <!-- HttpModules for Common Functionality -->
Line 42: <httpModules>
Line 43: <add name="UrlRewrite" type="DotNetNuke.HttpModules.UrlRewriteModule, DotNetNuke.HttpModules.UrlRewrite" />
Line 44: <add name="Exception" type="DotNetNuke.HttpModules.ExceptionModule, DotNetNuke.HttpModules.Exception" />
Line 45: <add name="UsersOnline" type="DotNetNuke.HttpModules.UsersOnlineModule, DotNetNuke.HttpModules.UsersOnline" />
I've tried changing all 5 of the DNN sites to their respective subfolder, but they all then gave the same error. Normally I would have just installed DNN on my own rather than going through the automated Plesk interface, but being my first DNN site I went the auto route.
How can I point the domain to the subfoder? Should I manually install DNN 4.x and skip the Plesk auto setup method to setup sites? Suggestions?