Lots of DotNetNuke users and marketers choose the option of having a child portal setup in their installation. It could be a full url - eg.. an new domain name, or a true child portal - eg... domain.com/mychildportal or a subdomain setup - eg... mychildportal.domain.com.
If you use the 'child portal' option then a folder with a default.aspx file is created which is the name of the portal, but unless you customise it, it generates another number which is incremented with each new portal created.
If you use the full domain, or the subdomain method of creating another portal, no folder is created in the root directory but but it still increments numerically under the Portals/ folder.
Now, if you've only got one or two, it's not so bad, but if you've got quite a few, remembering who belongs to what can be somewhat frustrating and time consuming.
But you don't have to use this option all the time - and you can create your own folder names when creating the new portal, and here's how you do it.
To setup the Full domain or Sub Domain setup you'll need to make sure in IIS or your DNS entry you have allowed a wildcard or pre entered the subdomain in IIS or it will come up with a 'Page cannot be displayed' in your new DotNetNuke portal.
If this occurs, just add to IIS manually and the site will appear. If I'm in a hurry, I confess I've been known to setup the portal, letting it go to a "page cannot be displayed" error and then adding to IIS after. I know it's a bit arse about but sometimes even I don't get it perfect first time.
In this situation, you can see the URL is already created - it's using the initial parent portal, that's where you get the alias address in the address bar which I think looks simply horrible.. and if you have virtual directories in the first place, (which I really prefer NOT to use) then it's not going to be so successful to use.
Let's look at some more 'busy' folders and see how unwieldy your DotNetNuke installation can be if your memory isn't that good, your life is busy or you don't have some way of isolating your portals. I have a structure that works for me, but for those who aren't used to hosting versions of DNN from 1 >> 4, they might find it initially overwhelming, however, for me, it's very quick to find all my sites, portals, clients, and manage them. I guess how we do things is dependent upon our existing needs.
Here are two examples of the folder structure of a typical Parent and Child portal setup and you can see how confusing it can be to identify which portal goes with what. If you use FTP to upload files to the site, you'll appreciate how much time it takes to identify each portal.
type in the same name as you have for the subdomain or full domain (but without the .com bits on the end of course)
When the portal is created - it will be nice and easy to identify what belongs where - it's all about streamlining your DotNetNuke business and goodness me, we could all do with some extra moments in our day!
So I don't get any typos - I copy the text in that box before I click customise - I then type in the same name as the child portal - so when the site is created, the child portal will automatically display Portals/childportalsample instead of the incremental numbering.
Outcome
I have a more extensive video on xd.com.au if you want to learn more - you need to be registered - its a 26mb file. While it was created for an earlier version of DNN the references are the same.
video on XD.com.au
I hope you have learnt a little about this interesting topic.
Nina Meiers
Remember Me
a@href@title, b, blockquote@cite, em, i, strike, strong, sub, sup, u
Disclaimer The opinions expressed herein are my own personal opinions and do not represent my employer's view in any way.