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 ...Formating child portal url with domain aliasFormating child portal url with domain alias
Previous
 
Next
New Post
8/23/2014 3:22 PM
 

Hi,

I created a parent portal named "myportal.com" => OK
I created a child portal named "myportal.com/mychild" => OK
I would like changing "myportal.com/mychild" to "mychild.myportal.com"

To do that, firstly i changed directly HttpAlias from PortalAlias table to "mychild.myportal.com" (and i relaoded web.config to get change) ; secondly, i added the alias "mychild" to "myportal.com" domain from my IIS web hosting.

The results is a 404 error page for "mychild.myportal.com".

Could you explain me how to get my child portal please ?

 
New Post
8/27/2014 12:28 PM
 

Any idea please ? Is it a IIS pb or a bad config of me inside PortalAlias ? 

 
New Post
8/28/2014 6:06 AM
 
you only need a single entry in portal alias table for your former child website: "mychild.myportal.com".
You also need to make sure, the address is routed properly to your IIS website, where DNN is installed.
You may check proper routing by directly browsing an image, e.g. mychild.myportal.com/DotNetNuke.png.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
8/28/2014 1:54 PM
 

Thank you Sebastian.

Strange, i did it.
Actually, my config is basic dnn for a child portal : myportal.com/mychild.
So, i get my first page correctly from myportal.com/mychild/default.aspx
But i get a 404 error page for myportal.com/mychild/logo.png, and i get well the logo for myportal.com/portals/3/logo.png
(Of course, mychild is for PortalID=3).

Is it normal ? finally, i think this is the problem, not from IIS.

 

 

 

 
New Post
9/6/2014 9:00 AM
 

It's better now : my webhosting allows to create subdomains outside the DNS zone, and i didn't see it ; so now, after creating the sudomain mychild.myportal.com, i can view images like mychild.myportal.com/myimage.png. But Not Home page... !!! :

My dnn sub-site contains this aliases configuration in advanced settings :
1. mychild.myportal.com (Primary checked)
2. myportal.com/mychild (Primary not checked, CanonicalUrl option checked)

When i test both URLs : First is KO with "Unavailable server error" page, second is correct with home page displayed.

I tried to configure web.config to customize error details (CustomErrors=off...) rather than classic "Unavailable server error" page, but i can't see error content from subdomain url, it seems working only for a domain url...

So today, i can see images from subdomain, but not viewing aspx pages... Any idea please ?

 

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Formating child portal url with domain aliasFormating child portal url with domain alias


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.

Content Layout

Subscribe to DNN Digest

DNN Digest is our monthly email newsletter. It highlights news and content from around the DNN ecosystem, such as new modules and themes, messages from leadership, blog posts and notable tweets. Keep your finger on the pulse of the ecosystem by subscribing.  


Copyright 2017 by DNN Corp Terms of Use Privacy
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out