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 ...Two installations on one serverTwo installations on one server
Previous
 
Next
New Post
2/18/2009 11:26 AM
 

Hi,

I’ve got an issue with a particular DNN installation I’ve got. My company runs a website that is mission critical so we are not able to take the site down completely for maintenance, however we need to make some significant upgrades, so I felt the best method for handling this was to make a second DNN installation on the same server to allow for us to add, modify and test it before I release it publicly. 
 
I have a separate site set up in IIS with a different port forwarded on it from the main site, however, while I can’t reach the site from the outside, whenever I attempt to go to the site through the local host with the particular port, I can see the initial, default DNN front page. As soon as I navigate anywhere I am instantly taken back to our current site. This seems to make it impossible to log in and change the Portal settings to add an HTTP Alias to the site so that I can reach the entire site without continuously going to the old site (at least this is what I’d assume would fix the problem).  
 
How can I manually add an HTTP alias to fix this problem? Or, if this wouldn’t fix the problem, what could I do that would?
 
New Post
2/18/2009 12:39 PM
 

You need to tell your second install to use the port numbers in the web.config file.  This way it retains the port number when you click stuff like login.  I think you'll then be able to get in and add aliases to your second install, along with that you could do a little NAT/PAT on your firewall and see your second site via the internet.

 

First thing though is, on the duplicate site, open web.config and find these two lines:

  <!-- set UsePortNumber to true to preserve the port number if you're using a port number other than 80 (the standard)
    <add key="UsePortNumber" value="true" /> -->

 

Change it to this:

<!-- set UsePortNumber to true to preserve the port number if you're using a port number other than 80 (the standard) -->
<add key="UsePortNumber" value="true" />

All I did was move the --> from the end up to the end of the text line, thus making the line <add key="UsePortNumber" value="true"/>

 

this will make the port numbers active on all the things you click on the site.  What is happening is you are currently seeing the first page of your dup site, but then when you click something it's kinda redirecting back to the original, non-port number site.

Once that is done it should work, if not, I'd go to yoru primary install, add localhost:portnumber to the alias list, then copy the install to your test install again, and edit the test installs web.config as mentioned above.

 

Let me know if that works!

Josh

 


Josh Martin

 
New Post
2/18/2009 3:28 PM
 

Thanks for the help.

I tried that and, unfortunately, now I can't seem to even pull up the default front page.  When I try http://localhost:XXXX it just redirects instantly to the 80 port, is there a way to specify the alternate port number since I can't seem to for my new port to come up at all when that value is choosen.

 
New Post
2/20/2009 11:19 AM
 

Hmm...it should work.  double check your port bindings in IIS.  I"ll play around on my test server to see what I come up with.

 


Josh Martin

 
New Post
2/23/2009 1:43 PM
 

Is it possible that I need to specify the port in either DNN itself or in the web.config file?  Since if I choose to perserver port number, it looks like it's preserving port 80 rather then anything else.  I've checked and I've got the alternative port set in IIS for that particular site.

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...Two installations on one serverTwo installations on one server


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