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 ...launching DNN from the root after installing in a subdirectorylaunching DNN from the root after installing in a subdirectory
Previous
 
Next
New Post
12/10/2007 11:55 PM
 

hello,

i successfully installed DNN 4.7 in a directory off of the main root directiory of my web site, www.mydomain.com/dotnetnuke.  installing in the dotnetnuke directory and not the root directory was a recommendation of my hosting company.  now that i have everything working from the dotnetnuke directory, is it possible to have users see the DNN home page when they simply enter the main site, www.mydomain.com?  i tried adding www.mydomain.com as an alias in the host user settings, but I just see a directory listing (which includes the dotnetnuke directiory) when i navigate to www.mydomain.com.  is there another method to accomplish this without modifying the settings at the ISP?

any guidance is appreciated.

 

 
New Post
12/11/2007 12:26 AM
 

You could put a default.html file in your root the redirects the user to your DNN directory.

 
New Post
12/11/2007 3:54 AM
 

Hi,

You can do this by setting the "Home Directory" in IIS to point to, in my case C:/inetpub/dotnetnuke/website  This offcourse only works if you have access to IIS on your server, and if your DNN site is set as your "Default Website" and not a "Virtual Directory"

Alternatively, you could put a URL redirect on www.yourdomain.com/dotnetnuke/ to redirect to www.yourdomain.com  The downside is that some search engines don't like it if you have URL redirects, unless you put a delay of 5 sec. or more.

Hope this helps

Julian

 
New Post
12/17/2007 5:11 AM
 

thank you for the suggestion. i was able to use this code for a redirect, however the code only worked from within a default.aspx file placed in the root of the domain.  is there a better method to redirect to the dotnetnuke subdirectory using a default.html file as you suggest?

Protected Sub Page_Load(ByVal sender As Object, ByVal e As System.EventArgs)

    Response.BufferOutput = True

    Response.Redirect("http://www.mydomain.com/dotnetnuke/default.aspx")

End Sub

 

Also, it sounds like the other respondent to this question does not recommend a subdirectory install because it does not optimize for search engines.  is there a general recommnedation to load dotnetnuke in the domain root directory, contrary to the hosting company advice?

 

 
New Post
12/17/2007 9:05 AM
 

you can do that by placing the following code in the html page:

<html>
<head>
<meta http-equiv="REFRESH" content="0;url=dotnetnuke/default.aspx">
</head>
</html>

 


Bilal Al-Ghazi
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...launching DNN from the root after installing in a subdirectorylaunching DNN from the root after installing in a subdirectory


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