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 ???Portal alias ???
Previous
 
Next
New Post
8/20/2008 8:19 AM
 
Hi Can sombody please explain me what is the purpose of portalalias? I am trying to setup my website onto iis, If i hit the url the site redirects to another website location. I published my website to this redirect website location. But now it says the Firefox has detected that the server is redirecting the request for this address in a way that will never complete. What is more frustrating is that it works fine sometimes and sometimes not. The other issue is if I set the portal alias to localhost , my site works fine but if I change it to my IP address. It doesn;t Please let me know what is the fundamental concept with portal alias. If I delete these portal alias, I get compilation error. How do I get rid of portal alias or solve this issue? thanks
 
New Post
8/20/2008 10:42 AM
 

Portal aliases are used to ensure consistent branding of your site.  For example, you may want to own MySite.com, MySite.Net, ThisIsMySite.biz, etc.  However, you want your site to only be known by MySite.com.  So, if you setup MySite.com as a portal alias, all of the other requests that point to your site will be redirected to the "allowed" portal alias.

In general, you should setup one preferred alias for your public-facing site, and you will probably also have an alias or two for locahost situations, where you don't want to be redirected to the main URL.  Each URL that needs access to the site needs a portal alias, if a URL hits your site that isn't setup as an alias, it will redirected to your main (first) alias.

Hope that helps,


Brian Dukes
Engage Software
St. Louis, MO
866-907-4002
DNN partner specializing in custom, enterprise DNN development.
 
New Post
8/20/2008 12:58 PM
 

That wasn't my understanding of the Portal Alias.  The way I understand it is that anything directed to that URL string will be redirected to the DNN portal with that alias.  If in the original poster's case they are using localhost and the IP address, both need to be in the Portal Alias for the portal they direct to.  If you only have a single portal and haven't added a parent or child portal, it's stoill a portal as far as the alias is concerned.

So, if you want someone to access your site through any of these URL's:

http://www.sample.com/
http://sample.com/
http://192.168.100.1/

Then your portal alias must include:

www.sample.com
sample.com
192.168.100.1

Jeff

 
New Post
8/20/2008 3:05 PM
 

Hey Guys,

I'd chime in and say that you are both right, and that I would first think of yet a third use portal aliases.

Brian's scenario: Set up ten domain names to point to my server. Set up my web site in IIS to handle all of those domains and direct them to my DNN site (host headers probably).  Only add the "main" URL to your list of portal aliases. When you go to any URL that's not in the list of protal aliases, but your website is responsible for handling - - you'll go to the primary URL. This is probably not the best way to perform this kind of thing though. It's probably easier just to set up different web sites in IIS and perform real permanent redirects.

Jeff's scenario is so that you can access the same website from different locations. This is frequently the "Developer" scenario - i want to pull down a database from production and put it on my development machine and access it from a different URL -- add a portal alias and you're good to go.

A third scenario would be that I would add is to have www.mysite.com be portal 0 and http://ian.mysite.com be portal 1 and jeff.mysite.com be portal 2, etc... If you have DNS and IIS configured properly, all you have to do is add a portal alias to get that functionality.

Hope that helps,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
8/22/2008 12:18 PM
 
Can I remove this portal alias al together from portalalias table and work with it. I am working under developement and using asp.net developement server. I did somethign to do with portaalias table and now if I try ctrl+f5 , my site redirects to the alias I have provided and throws an error sayign 'The hostname could not be parsed' Since i am using asp.net developement server my website url is http://localhost:1749/SAT_CMS/ how do I make my website work again and how to get rid of portal alias? Do I really need portalAlias? regards
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...Portal alias ???Portal 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.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out