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

HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...redirect URL to portalredirect URL to portal
Previous
 
Next
New Post
6/15/2011 12:42 PM
 
This is real frustrating can some one help with this?







Here is my situation I have W2k8 R2 IIS 7.5 with DNN installed under Default website virtual directory \dotnetnuke I created a portal "Portal1" so path is \dotnetnuke\portal1 to get it displayed. My W2k8 is fully namaged server not shared hosted solution. I registered domain and create A record, problem I'm facing is that if I type in IE domain1.com I hit default IIS home page in the interim I created redirect.html page and made it default on IIS so domain1.com hit redirect.html and redirects to http://domain1.com/dotnetnuke/portal1... but this is not good solution 1) is slows down display of the portal1 home page 2) it shows full path. I asked this question before but advices I got did not work for me. How do I do this? 1) hide path in URL and redirect to specific portal in this case portal1







Here is one advice I received asking this question previously:







You would have to make sure that in IIS under bindings you added domain1.com



You add domain1.com in DotNetNuke Admin->Portal settings as an alias.







Did both, added domain1.com in bindings under Default web Site in IIS - didn't work



and Yes I have domain1.com, www.domain1.com, domain1.com/dotnetnuke/portal1 , www.domain1.com/dotnetnuke.portal1



nothing works I always hit default page of Default Web Site in IIS and if I remove my redirect.html I get error file not found







second advice I get is this







Your dnn install on domain1 is not root.  Further your desired portal is 1 not the default 0



Correct



I use GoDaddy for many sites, and GoDaddy does not support root dnn installs.  Supposedly you can hack it, but they don't support it.



I use GoDaddy to register my domains but I do not host there  A records, aliases still at GoDaddy



To accomplish what you describe on GoDaddy, I buy a meaningless domain, call it XXX.com. 



I have domain I'm not using so can do this



I make it the primary domain for the hosting account.  Your files would then reside at XXX.com/dotnetnuke and your target site at XXX.com/dotnetnuke/portal1



Since I do not host at godaddy that does not apply exactly to me but yes I can create A record and point my xxx.com domain to same IIS server so Yes my DNN files are accessible at xxx.com/dotnetnuke and target is xxx.com/dotnetnuke/portal1 I can access like this as long I add also xxx.com as alias tomy portal1 in addition to domain1.com so far OK



Make domain1 a portal alias for portal1 on your dnn instance (while logged in as host)



did that again in addition to xxx.com



Forward your domain1 to XXX.com/dotnetnuke/portal1



did that



GoDaddy allows you to map/assign any non-primary domain on an account to any folder under the primary from their console w/o having to fuss with the forwarding, though it works the same way...



I did forward my domain1.com to xxx.com/dotnetnuke/portal1 and I can do directly from this screen on godaddy.com do preview and see my page so godaddy can get there, but if I then do to IE and type domain1.com I get error document not found, not sure if this is timing issue and I have to wait until godaddy gets updated in dns but so far this is not working







it is so frustrating, I'm not sure what I'm doing wrong and how to redirect domain1.com to /dotnetnuke/portal1 and in addition to redirection hide this path



I'm new to DNN but I have deployed many costume website on IIS not base on CMS and never had such problems in fact to test something I created another website on the same IIS and bind it to another domain, created simple html page type it in IE and no problem IIS know base on binding that yyy.com is under another website.
 
New Post
6/15/2011 10:59 PM
 
got it to work Thanks Bob
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedNew to DNN Plat...New to DNN Plat...redirect URL to portalredirect URL to portal


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