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 ...Hosting DNN with non-DNN websitesHosting DNN with non-DNN websites
Previous
 
Next
New Post
2/18/2011 4:08 AM
 
Hi,

I have a website with address wwww.example.com and sub sites located in www.example.com/subsite1 and www.example.com/subsite2. In the default.aspx the website checked whether the request came from www.subsite1.com and redirected to www.example.com/subsite1. How can I achieve the same thing with DNN? The sub sites were created with C# ASP.Net.

I'm thinking that I might have to compile DNN myself and somehow add the subsites to that project. Is that correct?

Regards,

Corne Beukes
 
New Post
2/18/2011 3:49 PM
 
The best way to do this is via IIS -add iis entries for those domains and set a permanent redirect to your virtual application domains - heres an example http://www.microsoft.com/technet/prodtechnol/WindowsServer2003/Library/IIS/6b855a7a-0884-4508-ba95-079f38c77017.mspx?mfr=true . Alternatively you could create portal's with those aliases (e.g. www.subsite1.com) and use the page settings redirect feature to do so.

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
New Post
2/21/2011 1:53 PM
 
Thanks for the suggestions.

I unfortunately can't change the IIS settings, and having asked my ISP, their solution was to create a portal as well. I tried adding a portal for www.subsite1.com that goes to www.example.com/subsite1, but all that it does is delete my content from the subsite1 folder and create a new DNN portal. Am I doing something wrong?
 
New Post
2/23/2011 6:57 AM
 
it sounds like you are adding new portals but what you need to do is add a portal alias i.e. a request for www.subsite1.com should go to example/subsite1 .You can read about portal aliases on the wiki at http://www.dotnetnuke.com/Resources/Wiki/tabid/1409/Page/Portal-alias/Default.aspx . With the 5.6.1 release you can nominate a portal to be the default so all aliases redirect to it - http://www.dotnetnuke.com/Resources/Blogs/tabid/825/EntryId/2946/DotNetNuke-5-6-1-Released.aspx

Buy the new Professional DNN7: Open Source .NET CMS Platform book Amazon US
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Hosting DNN with non-DNN websitesHosting DNN with non-DNN websites


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