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 ...CanCan't access site via web, only local host.
Previous
 
Next
New Post
8/30/2008 11:20 AM
 

I finally got DNN installed but now I can't seem to get to the site over the web.  I can only access the site with local host.  When I attempt to get to the site over the web, I get the website under construction page.  By the way, I have tried adding the site name as an http alias within DNN host settings.  Any help that can be provided will greatly be appreciated.

Thanks,

John

 
New Post
8/30/2008 10:31 PM
 

John,

You don't say much about your hosting eviroment, but I am going to assume that this is something local to your home or office.

Setting up the alias for the portal in DNN is one of several steps.

See if you have missed one of these steps.

  1. Point your Domain Name to the IP of Server
  2. If you are running this over a dynamic IP address you will need to run something like Dynamic DNS that can be used to automatically update domain "pointings" to your server.
  3. If you are running more than 1 site in IIS make sure to setup a host header for your DNN site with your Domain name.

That shoul get you started until we get more info from you.

Stuart

 


Hilbert Solutions, LLC
Owner, Hilbert Solutions, LLC
http://www.HilbertSolutions.com
A DNN Service Provider
From Module Development to DNN Upgrades, your one stop DNN Shop
 
New Post
9/2/2008 5:40 PM
 

Thanks Stuart for the reply.

I have DNN installed on a local server.  I have a dynamic IP address and I'm using a dyn service to update the IP.  My ISP is blocking port 80 so I have redirected to another port.  What changes in the standard DNN install process need to be made if redirecting from the normal port 80?

Thanks,

John

 
New Post
9/3/2008 9:00 PM
 

What changes in the standard DNN install process need to be made if redirecting from the normal port 80?

Two things at a minimum:

  • Change web.config by uncommenting the following line to give you:

    <!-- 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" />   

  • Open the database for your DNN installation, and open the table [dbo].[PortalAlias]
    • The first entry will look something like:  
      PortalAliasID PortalID HTTPAlias
      1 0 MyServerName
    • Add an additional entry, such as:
      PortalAliasID PortalID HTTPAlias
      (autonumber) 0 MyServerName:8080

This is as far as I've got, I just started working with DNN today.  Now I'm working on how to make portals with unusual, non-standard ports work...  I don't yet completely understand how DNN configures IIS "under the hood" to setup different sites for the portals.?.?

If anyone else would care to jump in I'd greatly appreciate it!

 
New Post
9/4/2008 2:12 PM
 

DNN does nothing to configure IIS.  In a nutshell, your domain name uses DNS to point the specific host, such as "www", to a specific IP address that IIS will respond to on your system.  IIS only responds to an IP address and port combination, not a name (though host headers can change this, for DNN you don't need them).  When IIS receives a request to a host name that resolves to the IP address IIS is listening on, it will serve the requested page, as in Default.aspx if you request http://www.sample.com/Default.aspx, or to the default document if no specific file/page is in the URL, as in http://www.sample.com/.

DNN takes over when the Default.aspx page is served, processing the requested header (the URL...) and redirecting to the appropriate DNN portal based on the portal alias.  If the requested header doesn't appear in the portal alias table, the default DNN portal is served.  For both parent and child portals DNN follows this process, which is why having the correct portal alias, as requested, is so important.

In fact, if you have www.sampe.com as a portal alias and someone requests http://sample.com/, DNN won't recognize it.  If someone requests your IP address and it's not a portal alias, DNN doesn't recognize it.  Most DNN installations should probably have three or four portal aliases, the host/domain, the domain alone, the IP addres and Localhost if the site will be accessed from the server.

Jeff

 
Previous
 
Next
HomeHomeGetting StartedGetting StartedInstalling DNN ...Installing DNN ...CanCan't access site via web, only local host.


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