Learn More





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 ...Primary Site AliasPrimary Site Alias
New Post
10/29/2015 1:55 PM


We have recently changed over from a development site to a live site and in process changed the domain name. I had added the live domain name as an Alias before the change over. The previous development name no longer points to the same hosted space (it's a shared hosting environment, so multiple sites share a single IP address).

My issue is that one of the main modules on the site uses the site alias marked as "primary" to determine the URL for a link back for social media use. And as it stands the one marked as "primary" is the development domain name (which I can no longer access the site with). And DNN will not let me edit the current site alias (not even to mark it as primary). 

So, I edited the older site alias and unchecked primary. So now neither alias is marked as primary. So, I deleted the older alias (just leaving a single alias) and recycled the app pool and that doesn't mark the current domain alias as primary (the social media linkback URL is created with no domain in it now). My assumption being that if there is only one alias, then by default, it is the primary -- but apparently not...

So, how do I go about marking the only listed site alias as primary? Is it even possible?

Thanks for any help offered...



New Post
10/29/2015 2:09 PM
Well, how about that. It turns out that I posted the exact question back 2008 and the solution was to run a SQL script that forced the isPrimary entry to true. I ran it this time and I'm good to go!

Thanks for the tip Sebastian (the first time and this time ;-)
New Post
10/30/2015 3:54 PM
Thansks, please note that isPrimary has different requirements, if using Advanced URL rewriter in DNN 7.

Cheers from Germany,
Sebastian Leupold (Microsoft MVP)

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group   European Network of DotNetNuke Professionals

Speed up your DNN Websites with TurboDNN
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Primary Site AliasPrimary Site 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.
Try Evoq
For Free
Start Free Trial
a Demo
See Evoq Live
Need More Information?