Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Installing DNN at the root of my serverInstalling DNN at the root of my server
Previous
 
Next
New Post
4/19/2007 6:37 AM
 
Hi folks,

Is it possible to install DotNetNuke at the root of my webserver (e.g. http://www.myserver.com/) instead of a virtual directory (http://www.myserver.com/dotnetnuke)? I tried googling for this but the solutions are more for installing into a hosting provider as opposed to doing it on my own web server.

As a side note I successfully installed it into a virtual directory, but decided to try (re)installing it to root, so I copied all the files into my webroot, cleaned out all the DNN-created tables, stored procs from my SQL database, then attempted to get it to reinstall but it kept failing at the database installation screen. Now it won't even install properly into a virtual directory.

Can someone help me? Thanks in advance.

Regards
CK
 
New Post
4/19/2007 9:05 AM
 

Delete all the files, except your modified web.config.  Delete the database as well.  Create the database again, upload all the install files to the root of your site and hit the site with a browser.

Jeff

 
New Post
4/19/2007 9:14 AM
 
jeff@zina.com wrote

Delete all the files, except your modified web.config. Delete the database as well. Create the database again, upload all the install files to the root of your site and hit the site with a browser.

Jeff



Thanks Jeff. I'll give that a try.

Just curious to know, is there a less "drastic" method than deleting/recreating the database? What if you are sharing the database with another site and you need to reinstall one of them? :P

Regards
CK
 
New Post
4/19/2007 10:24 AM
 

ckng:

You are not going to like this but in order to change the setup of DNN from a virtual dir to a dedicated Web site you did not have to reinstall or go through all that trouble.  You only needed to create a new Web site and define its physical directory to the directory where you had DNN already, define the Host Header for the new site, and define the PortalAlias in DNN to match the Host Header.  This would have worked.  The Web.config would have connected to the same database with no problems (if it was working right before).  Next time ask before performing major surgery

Please tell us some details about your setup, what version of DNN, what version of SQL Server, is SQL Server on same box as the Web Server, do you have another Web site or application already running on the Web server at the URL you want to use for DNN?

Carlos

 

 
New Post
4/19/2007 10:37 AM
 

CarlosRafi wrote

ckng:

You are not going to like this but in order to change the setup of DNN from a virtual dir to a dedicated Web site you did not have to reinstall or go through all that trouble. You only needed to create a new Web site and define its physical directory to the directory where you had DNN already, define the Host Header for the new site, and define the PortalAlias in DNN to match the Host Header. This would have worked. The Web.config would have connected to the same database with no problems (if it was working right before). Next time ask before performing major surgery .

Please tell us some details about your setup, what version of DNN, what version of SQL Server, is SQL Server on same box as the Web Server, do you have another Web site or application already running on the Web server at the URL you want to use for DNN?

Carlos

 

Thanks Carlos. Not too bad to hear that all it takes is simply pointing the web site's home directory in IIS to the location of DNN will do what I wanted. I suppose moving the files over would work as well?

I was trying to install DNN 4.5.1. My web server is Windows 2003 which also runs a bunch of other sites (all non-DNN, a mix of web sites on ASP 3.0 and ASP.NET 1.1). Right now they are all accessed via a different port number. (Internal development machine, so we don't really need "real" hostnames ;) ) SQL is on another box running good old SQL 2000.

Though I screwed up the thing I am still very curious to know what the DNN installation did that didn't allow me to reinstall without dropping the entire db - I've deleted every single table, stored proc, view, etc and even created the web site in IIS from scratch! Will ask my dba to recreate the db tomorrow and see how it goes. Thanks for all the help guys.

Regards
CK

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Installing DNN at the root of my serverInstalling DNN at the root of my server


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out