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 ...Redirecting a portal to another portalRedirecting a portal to another portal
Previous
 
Next
New Post
6/23/2008 2:07 PM
 

Greetings. Does anyone know how to do this?

I have a parent portal, say http://www.sampleABC.com and that portal client controls the DNS A REC for it, I do not. I'd like to redirect all traffic going to it to another portal on the same DNN instance, say http://www.samplexyz.com. Is there a simple way to do this within DNN?


Ralph
Search for Senior Housing and Senior Living Options
http://www.snapforseniors.com
 
New Post
6/23/2008 2:23 PM
 

A quick and easy way might be to use the URL Redirect.  Open you siteurls.config and add a new XML node with the following:

LOOKFOR
http://www.sampleabc.com

REPLACEWITH
http://www.samplexyz.com

However, you should know that this will change it across the board, so your original or parent site would no longer be accessible unless you commented out or removed that rule.

I would suspect that you need a more flexible solution.  What I suggest is determining what your business rules are and creating a module around that.  For instance, if at IP # xxx.xxx.xxx.xxx, show the parent portal, otherwise, redirect all users to the child portal. 

So you would build the module with that logic, and then install it on your parent portal.  When it is installed, place it on the home page of the parent portal, then using the module settings, display it on all pages.

[EDIT]
I just realized that there is an even easier way to do the same thing.  Just put the same logic into your skin file instead of a module.  That way, you do not need to create a module package (if that is too much for you). 
[/EDIT]


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
New Post
6/24/2008 1:26 AM
 

Thanks Will.

All good ideas. I went with the SiteUrl.config method. Works like a charm. Took a little doing to get it to work...then we realized that it helps to but the redirects like this first the the rules vs last.


Ralph
Search for Senior Housing and Senior Living Options
http://www.snapforseniors.com
 
New Post
6/24/2008 8:38 AM
 

I am glad to help.  Your last sentence confused me a bit.  Is your problem solved?


Will Strohl

Upendo Ventures Upendo Ventures
DNN experts since 2003
Official provider of the Hotcakes Commerce Cloud and SLA support
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Redirecting a portal to another portalRedirecting a portal to another portal


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