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 StartedInstalling DNN ...Installing DNN ...Setup problem, iSetup problem, i'm sure it's something simple!
Previous
 
Next
New Post
1/17/2008 9:01 AM
 

Setup and installed DNN fine,

i've set the dns setting for the following domain to my server, but when trying to load the default.aspx, it looks at my local router!

www.jackdaviescycles.com/webshop/default.aspx

www.jackdaviescycles.com/webshop/logo.gif

just loading a gif file from the same directory works fine.

Any ideas, thanks in advance

 
New Post
1/17/2008 9:50 AM
 

Robsony,

Is this something you set up and configured locally and then deployed to a server? My guess is that you need to add an entry with your domain name (www.jackdaviescycles.com/webshop) to the portal alias table so that when your web site receives the request it knows what portal to send you to.

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
New Post
1/17/2008 9:57 AM
 

Thanks for your reply Ian.

Yes I ran the setup actually on the server (ip : 192.168.1.1)
DNN works great from all PC's on our local network by using http://192.168.1.1/webshop

Any chance you could explain the solution please as it's gone over my head. Could do with laymans instructions to solve the problem.

Thanks again

 
New Post
1/17/2008 11:15 AM
 

Observation:
if i look just at http://www.jackdaviescycles.com/webshop/, it resolves to 192.168.1.1/webshop


"All the solutions are simple, but only after you already know them" Robt. Pirsig
 
New Post
1/17/2008 11:38 AM
Accepted Answer 

Robsony,

You're welcome, and I'd be glad to elaborate on the solution.

Portal alias background:

When you type in www.yourdomain.com -- DNS is set up to direct that to your DotNetNuke site. Now, DotNetNuke can have many portals, each with their own domain name if you wish. Therefore the portal alias table is a way for a single DotNetNuke site to service many portals. So in essence, when your web site receives a request, it looks in the portal alias for a matching URL and then takes you to the appropriate portal. If it does not find an appropriate URL it will take you to what it finds (and in your case this is your local address 192.168.1.1/webshop).

Solution:

You need to add your Portal Alias to the portalalias table in the database. You can either A) go through the host -> portals section of the web site on your development machine and add a new portal alias for your production site and then backup/restore your database to your production server.  Or -- you can manually enter the portal alias in the your database table (portalalias) on your production site. If you choose the latter, remember that you need to restart your application for this change to take effect. You can restart the app by  making an arbitrary change to the web.config file.

For reference: The option B) SQL statement that you would need to run in your database would look something like this:

update portalalias(httpalias, portalid)
values('www.mydomain.com/website', 0)

Also, if you need more information or clarification on any of this -- a simple "updating portal alias" search on google will yield several helpful results.

hope that helps!

Take care,

Ian


Software Engineer
Co-Founder, dnnGallery
Stack Overflow: Ian Robinson
Twitter: @irobinson
Linked In: Ian Robinson
 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Setup problem, iSetup problem, i'm sure it's something simple!


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