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 ...DNN Portals and localhostDNN Portals and localhost
Previous
 
Next
New Post
11/9/2009 9:44 AM
 

Hi all,

Having spent many hours trying I have installed DNN 5.01.04 on one of our servers (Win 2003). It looks like it's installed OK as on the server I can add a portal and can get to it to login. When I do this the address changes to http://localhost/dotnetnuke and it goes in OK. I added this portal as a parent, though this may be a problem. At this point I get lost and hit the low wall of my knowledge. We have an existing website, let's call it www.domain.com which we host on this server. I don't want this website to disappear but I want to try to "convert" it into DNN so non tech users can make content changes. I have opened up port 81 on the firewall for this website, but it doesn't work.

To access this test portal from outside the local network, I try to enter www.domain.com:81 but this just gives an error. Using the IP address 123.123.123.123:81 also returns an error, but this time a standard HTTP 404 error page. On Firefox this shows the URL has been changed to http://localhost/dotnetnuke. If I try to access a page directly I get different results, using the domain name http://www.domain.com:81/john.htm I get the same error page however 123.123.123.123:81/john.htm returns the page.

My question is how do I get the website displayed rather than it redirecting to localhost? I have been trying all sorts of things in the portal alias fields but nothing is making any difference. Even if I understood it I think this would be difficult, as it is I am finding it impossible.

 

John

 
New Post
11/9/2009 10:04 AM
 

So there are a couple of things to look at here:

  1. Make sure the server does not have its MS Firewall blocking the port
     
  2. Make sure you are allowing port 81 in the IIS Website Bindings
     
  3. Make sure you have added www.domain.com:81 as a Portal Alias (what DNN Looks for to allow a website to be accessed).

Let me know if you strike out on all of these or if one works... 


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
11/9/2009 10:20 AM
 

Hi Robert

 

Many thanks for your prompt reply!

Here's what happened when I tried your suggestions:

1. We have no MS firewall running on the server

2. TCP Port 81 is selected on the website properties page (IIS 6). The internal IP address is specified here; the firewall passes the (IP):81 address to an internal address of 192.168.168.16.

3. I added www.domain.com:81 and http://www.domain.com:81 as portal alias but no difference. I also tried internal and external IP addresses in here (ie 192.168.168.16:81 and 62.8.97.245:81 both with and without leading http:// but sadly no success.

On Firefox each time I try the www.domain.com:81 I get the error page, when I try 62.8.97.245:81 I see the URL changing to http://localhost/dotnetnuke as before.

Regards, John

 

 
New Post
11/9/2009 10:38 AM
 

John,

My bad!  I forgot to mention a few things:

  1. Only www.site.com:81 not http....
    (Also, you can add just www.site.com as it will be needed later)
     
  2. You want www.domain.com:81 to REPLACE localhost/dot...
     
  3. After making this change to the database, make sure it has stuck, then restart IIS as the original may still be cached and if so it will want to redirect to the original (and can even cause looping from site, to local, to site, to local, etc...).

Let me know how this works.


Best Regards,

Robert J Collins | Co-Founder & President

Netlogic Corporation

 
New Post
11/9/2009 10:55 AM
 

Hi Robert

I've tried your suggestions, and can report the following:

1) OK

2) I replaced localhost/dotnetnuke in the PortalAlias table with www.domain.com:81

3) I didn't restart IIS as I didn't want to stop other websites but I added a blank line to the start of web.config and saved it which I hope does the same thing?

I'm sorry to report there is no difference from outside the firewall, I'm seeing a "Failed to connect" page in Firefox "The connection was refused when attempting to contact www.marketingunity.com:81."

My previous attempts were with a new portal that I'd added, I'd left the first/default portal alone. This time I removed all portal aliases from the 2nd portal and changed the localhost/.. as recommended, not only does that not work externally but now on the server I am getting "Server Error in '/dotnetnuke' Application." and "

Object reference not set to an instance of an object. "

I think I'll have to go back to localhost/dotnetnuke in the portalalias table to get into dnn on the server again?

Many thanks for bearing with me, I'm sure it's my lack of understanding that has made my do something wrong during setup, or something.

 

John

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...DNN Portals and localhostDNN Portals and localhost


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