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

HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How do I get DNN on my root directory?How do I get DNN on my root directory?
Previous
 
Next
New Post
8/1/2007 1:16 PM
 

When I installed DNN via my ISP provider, I was required to install DNN to a subdirectory (I chose "Main"). Now that I have directed an additional URL to my Host DNN's NameServer and the IP to the Host URL IP, I am getting page not found. I believe that is because of this subdirectory issue. How do I move my installation to the URL Root?

 
New Post
8/2/2007 10:03 AM
 

First you will need to add a new portal alias for the site to reflect the removal of the subdirectory.  THis is done under Site Settings with your host account.

Then you will simply need to copy your files from the sub folder to the parent folder.

NOTE: you might need to fix hard coded links and links in various sections of the text/html module if they refer to the subdirectory.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
8/2/2007 10:12 AM
 

You may also need to add an index.html file to your root directory in order to repoint browsers to your "Main" folder.  Some hosting providers do not allow DNN installations in the root directory (godaddy used to be this way, i know).

Here is an example for code to put in an index.htm file in your root if redirection is your only problem:

<html>
<head>
<title>Simple Redirect Script</title>

<SCRIPT LANGUAGE="JavaScript">
<!-- begin hiding JavaScript from old browsers
// define redirect function
// to use this script, change redirect2.htm to required destination
  function redirect(){
   parent.location.href="redirect2.htm"
  }
// End hiding JavaScript -->
</SCRIPT>

</head>

<body bgcolor="#FFFFFF">
<h1>Simple Redirect Script</h1>
<p>This script automatically redirects a visitor from one webpage to another ...
  provided that they have a Java enabled browser.</p>

<!-- change "redirect2.htm" to required destination -->

<p>If you are not redirected to another page within 15 seconds, then please <a href="redirect2.htm">click
  here</a>.</p>

<SCRIPT LANGUAGE="JavaScript">
<!-- Hide script from old browsers
// set timeout to redirect after 10 seconds
  setTimeout("redirect()",10000)
//-->
</SCRIPT> 

</body>
</html>


Chad Voller -- MCP, DNN Aficionado
Leapwise Media
View my View Chad Voller's profile on LinkedIn
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...How do I get DNN on my root directory?How do I get DNN on my root directory?


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