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 ...test clone keeps redirecting to productiontest clone keeps redirecting to production
Previous
 
Next
New Post
2/26/2009 12:32 AM
 

My apologies if this has been asked already. I've searched the forums and google and I see things that seem in the vicinity, but don't quite show what I'm seeing.

I have a test environment set up on a virtual server, which is a clone of the production server. The test clone has its own subdomain so I can do what I need to do to roll out the next version without impacting the production.

Here's my problem and it seems like a pretty straigtforward issue. When I click the login link, it takes me back to the production site's login page and everything from there is on the production site.

The test clone lifted the entire production environment, database included, to produce the test environment. I initially thought it was a matter of removing the portal aliases that pointed it to production, but after removing all the PortalAlias records except the one that points at the test subdomain, the log-in link still redirects to production. I tried copying the link on the log-in link and pasting it to the address bar and manually replacing the URL to production with the URL to test, but it still ends up on the production site.

I figure there's another place in the database, in addition to PortalAlias, where this information is coming from when the framework builds the log-in link, but I'll be jiggered if I can figure out where. Any help on this would be most appreciated. Thanks.

 
New Post
2/26/2009 4:41 AM
 

 You need to add the new site address as portal alias - either before cloning the installation using the UI (in Host :: Portals select the portal and at the bottom of the page add the new address as additional aliasw entry) or directly in PortalAlias table in the database.


Cheers from Germany,
Sebastian Leupold

dnnWerk - The DotNetNuke Experts   German Spoken DotNetNuke User Group

Speed up your DNN Websites with TurboDNN
 
New Post
2/26/2009 6:55 AM
 

Thanks Sebastian. I have the test server's address in the PortalAlias table, as the only record, however when I click the login link, it still redirects to the production server. If I replace the www in that login link with the subdomain to the test server, the login appears to work. I'm apprehensive enough not to trust it fully and will probably try a few subtle changes to see if they appear on the production site, but this might be a workaround.

I'm still puzzled about where the address to the login on the production server is coming from. My strong hunch is that the link is part of the skin and has been hard coded in. The more I think about it, the more that makes sense. I did the initial development and turned it over to some relatively technically oriented support staff who made some modifications to the skin I worked up.

Anyway I do thank you for your quick reply. Cheers!

 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Administration ...Administration ...test clone keeps redirecting to productiontest clone keeps redirecting to production


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