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 ...Portal Alias MysteryPortal Alias Mystery
Previous
 
Next
New Post
7/6/2007 11:56 AM
 

I've read myself in circles, so I decided to post...

I've switching an installation of dnn 4.5.3 from development to production. What this means is that I'll be making the site available from a production URL rather than a dev URL. I've added two new production aliases and removed the original dev alias while accessing the site from one of the new aliases. The other of my new aliases is trying to redirect to the original dev URL. Any idea how to fix this? I've looked in the portalalias table and I've only got the two I need in there. Is that orginal dev alias/URL stored in a config file somewhere or what?

 
New Post
7/12/2007 2:59 PM
 

I'm having the same problem. My guess is that it may be the cache, but I don't know.

In my case I wish to change the portal alias from "www mydomain com/portal " to "www mydomain net"  (with periods where the spaces are). The redirect to the DNN application directory is handled by a script in the root directory. When I edit the HTTPalias field in the portalAlias table of the DNN database my application fails. When I restore the entry in the field the application continues to fail.

Any help would be appreciated.

 

 
New Post
7/12/2007 3:10 PM
 

Have either of you tried restarting the application by modifying the web config? This generally fixes mysterious portal alias problems.


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
7/13/2007 1:35 PM
 

Thanks for the response. As you suggested, restarting the application by updating the web.config file did indicate that part of the problem was the cached value for the web portal - by doing this I was able to restore the portal alias to the working version (before I changed it).

Still I have this problem:  I have two domain pointers: www.albigen.com and www.albigen.net - both point to my website root. I want www.albigen.net to be the DNN application.  The physical directory of the DNN installation is <root>/portal.  The hosting provider will not point domain names to a subdirectory, so  I have a script in the index.aspx file in the root directory of the site that reads: 

if (Request.Url.ToString().Contains("albigen.net"))

{

Response.Redirect("/portal");

}

The current portal alias is: www.albigen.com/portal

I wish to change the alias to www.albigen.net

If I make this change in the HTTPalias field in the portalAlias table, the application fails.

However, the portal name will work if I use www.albigen.net/portal

So how do I get rid of the subdirectory in the portal alias?

Thanks very much.

 
New Post
7/13/2007 2:43 PM
 

I would think that you would want two entries in the portalalias table

"albigen.net" and "albigen.com" - don't worry about adding a www or a directory afterwords for either of them. this way the site will catch both URLs and your code will redirect only for the appropriate one. I would add these as the only two entries in the table and then restart the site by touching the web config

hope that helps,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Portal Alias MysteryPortal Alias Mystery


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