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 ...Problem with old http aliasProblem with old http alias
Previous
 
Next
New Post
10/23/2007 11:11 AM
 

Hi guys, I've got a problem with moving DotNetNuke installation from one server to another.

I was developing DotNetNuke on my PC and was using the classic url form http://localhost/dotnetnuke. When I finished configuring the website, I had to move it to the web server. I added an http alias for the IP address of the web server, and another one for the IP address of the web server on the lan. I successfully moved DNN to the server (copying files, database, configuring IIS and file permissions). I've then deleted the localhost/dotnetnuke alias. But there's a problem:

When I access the portal from anywhere (lan or web) using the web IP, it gets to the main page, but: When I click anywhere in the site, DNN returns an url with the lan IP, and so I cannot continue! It seems it's using the lan IP as its primary. I've deleted the lan IP from the PortalAlias table of the DNN database, leaving only the web IP, and the website doesn't function at all (even after restarting IIS and recycling IIS app pools several times). It seems it only works when there's the lan IP in the aliases! It doesn't care about the web IP, as it always redirects to addresses using the lan IP. And when I go to the Admin > Site Settings, there's a pencil only for the web IP, as if the lan IP is default.

Is there a default http alias? And if yes, where's it stored? Apart from the PortalAlias table, is there anywhere else in DNN that the aliases are stored or cached?

Thanks for any help!

 

 
New Post
10/23/2007 12:39 PM
 

no, address is stored in PortalAlias table in your dnn only, except you additionally entered it into your web.config manually.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
10/23/2007 2:03 PM
 

Can you tell me what I may add manually to web.config? Maybe it'll help me.

As I said, I've modified the PortalAlias table, so that it contains only the web IP, and the site doens't function at all (it returns a bad request HTTP 400 error if i remember correctly). And if I have both the web IP and the local IP in the table (the order doesn't seem to affect anything), the site always refers links to the local IP address. maybe it's a bug for IP aliases, and the aliases only work for domains?

 
New Post
10/24/2007 9:48 AM
 

How are you directing traffic to your webserver? Are you doing something that changes the IP address on requests so that DNN sees it as the LAN IP?  If that is the case it is most likely that DNN simply believes that to be the input address and then it builds links based on it.


-Mitchel Sellers
Microsoft MVP, ASPInsider, DNN MVP
CEO/Director of Development - IowaComputerGurus Inc.
LinkedIn Profile

Visit mitchelsellers.com for my mostly DNN Blog and support forum.

Visit IowaComputerGurus.com for free DNN Modules, DNN Performance Tips, DNN Consulting Quotes, and DNN Technical Support Services
 
New Post
10/25/2007 2:44 PM
 

My webserver is in the DMZ zone of the network. A Windows ISA Server directs traffic (via NAT, and through port 80) to the local address of the webserver. If I activate asp.net's Trace, I see that the HTTP_HOST header is set to the local IP (!). But I did some tricks with ISA to modify the header to show the web IP, but DNN still uses the local one. I guess DNN doesn't look in the header for the IP. Where does DNN look for the alias that it uses in its links? Can you point me at the section of the source?

Thanks for any help!

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Problem with old http aliasProblem with old http 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