Sign In  |  Register
 
 DotNetNuke Powered!
DotNetNuke Support Forums

Redirects to parent portals from regular web sites

Rate this topic:

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

AuthorMessages
salama
Posts:2



02/14/2008 6:38 PM  

Hi

If I have multiple domain names and a single dnn instance under one of the domain names, can I have redirects for each domain name going to its corresponding portal with these requirements?

1- Each domain name is a web site under IIS
2- Each web site has a default.aspx (home page) which redirects the request for the site to its corresponding portal in DNN
3- but any other page in the web site will be served as normal by IIS and not by DNN. So for example if a site needs to run a photo gallery in classic asp which resides under the site's photogallery folder... it can? Because the photo gallery is not a dnn module but a separate web based application.

salama hussein

John Mitchell
Posts:3352



02/15/2008 9:27 AM  

Yes, you could do that.  There is some code in the following thread that will help you do a proper 301 redirect to your portals:

http://www.snapsis.com/DotNetNuke/Support/tabid/560/forumid/12/postid/5428/view/topic/301-Redirect-for-multiple-host-names.aspx

salama
Posts:2



02/17/2008 12:28 AM  

 

There's a piece missing in my understanding.

Say I have two domains/websites. www.domainA.com & www.domainB.com These are two distinct IIS sites.

www.domainB.com has the DNN instance installed in it. most probably in the root folder in the IIS site.

I want www.domainA.com home page only (default.aspx) to be redirected to the DNN instance under www.domainB.com and to have DNN take over and always show www.domainA.com/.... when a user requests www.domainA.com.

HOWEVER any other webpage on www.domainA.com is served as normal by IIS. Nothing to do with DNN. So if a user types www.domainA.com/store. That could be a physcial folder called 'store' under www.domainA.com root folder and it's some php store app.

The standard way was to add www.domainA.com as an extra host header in domainB.com and create a portal alias called www.domainA.com. That's OK if the site is totally served by DNN, which is notmy case.

So www.domainA.com IIS site will have its standard host header www.domainA.com.

SO here are my questions:

- How is the redirect done in  www.domainA.com/default.aspx? I am guessing its some DNN tabid. What's the format? Is it something like www.domainB.com\tabid\55\... which is the DNN home page for www.domainA.com?

- When I create a parent portal for www.domainA.com in DNN (which is under www.domainB.com), what portal alias to be used? I think there should be a relationship between the portal alias used and the redirect url used in default.aspx?

I hope I explained my scenario properly.

 

Salama

 

 

Please Register to post a reply.
Another benefit of registration is the ability to subscribe to and recieve notifications of new posts.

Forums >DotNetNuke Support >General-DNN-Help > Redirects to parent portals from regular web sites



ActiveForums 3.7
Visit our Store for great DotNetNuke Modules and Skins
DNNMasters Sitemap/Google Sitemap 3.0

Item codeSM3-01
Price$29.00
Product Information 
DotNetNuke CSS NavMenu 3.3 (Developers)

Item codeCSSNM33DEV
Base Price$149.00
Product Information 
Snapsis PageBlaster 3.3.2 for DotNetNuke - Professional Edition

AuthorJohn Mitchell
Base Price$79.00
Product Information 
XDAkuna (Web 2.0 CSS XHTML Skin)

Item codeXDAkuna
AuthorNina Meiers
Price$49.00
Product Information