Local or not local (Domain name does not exist in the database)

Last post 03-27-2004 11:33 PM by hooligannes97. 6 replies.

Sort Posts:

  • Local or not local (Domain name does not exist in the database)

    12-12-2003, 4:40 PM
    • Member
      25 point Member
    • PatrickStirn
    • Member since 11-11-2003, 2:39 PM
    • Posts 5
    I installed DotNetNuke on a local server, with no problems, the portal is working fine used on local computer
    when I call the database, I use local for the database connection string.

    I try to access the portal from another computer and I have this message error:

    --------------------------beginning message error------------------------------


    DotNetNuke Configuration Error
    Domain Name "213.171.224.12:81/DotNetNuke" Does Not Exist In The Database

    DotNetNuke supports multiple portals from a single database/codebase. It accomplishes this by converting the URL of the client browser Request to a valid PortalID in the Portals database table. The following steps describe the process:

    1. Web Server Processing

    When a web server receives a Request from a client browser, it compares the file name extension on the target URL resource to its Application Extension Mappings defined in IIS.
    Based on the corresponding match, IIS then sends the Request to the defined Executable Path ( aspnet_asapi.dll in the case of ASP.NET Requests ).
    The aspnet_isapi.dll engine processes the Request in an ordered series of events beginning with Application_BeginRequest.



    2. Application_BeginRequest ( globals.asax.vb )

    The Request URL is parsed based on the "/" character
    A Domain Name is constructed using each of the relevant parsed URL segments.

    Examples:

    URL: http://www.domain.com/default.aspx = Domain Name: www.domain.com
    URL: http://209.75.24.131/default.aspx = Domain Name: 209.75.24.131
    URL: http://localhost/DotNetNuke/default.aspx = Domain Name: localhost/DotNetNuke
    URL: http://www.domain.com/virtualdirectory/default.aspx = Domain Name: www.domain.com/virtualdirectory
    URL: http://www.domain.com/directory/default.aspx = Domain Name: www.domain.com/directory


    Using the Domain Name, the application queries the database ( Portals table - PortalAlias field ) to locate a matching record.

    Note: If there are multiple URLs which correspond to the same portal then the PortalAlias field must contain each valid Domain Name in a comma seperated list.

    Example:

    URL: http://localhost/DotNetNuke/default.aspx
    URL: http://MACHINENAME/DotNetNuke/default.aspx
    URL: http://209.32.134.65/DotNetNuke/default.aspx
    PortalAlias: localhost/DotNetNuke,MACHINENAME/DotNetNuke,209.32.134.65/DotNetNuke

    Note: If you are installing the application to a remote server you must modify the PortalAlias field value for the default record in the Portals table according to the rules defined above.
    -----------------------------------------------------------end message error---------

    what do I have to do to configure the portal so I can access it from others external computer?
    Thanks

  • Re: Local or not local (Domain name does not exist in the database)

    12-12-2003, 5:10 PM
    • Star
      8,495 point Star
    • christoc
    • Member since 01-03-2003, 7:49 AM
    • St. Louis, Missouri
    • Posts 1,560
    from the local machine, login as host and click on the SIte settings for that site, in the Portal Alias: field add the names that will be referencing that portal, try adding 213.171.224.12:81/DotNetNuke in there
  • Re: Local or not local (Domain name does not exist in the database)

    01-01-2004, 8:00 PM
    • Contributor
      4,750 point Contributor
    • JakeJeck
    • Member since 04-22-2003, 9:31 AM
    • Milwaukee
    • Posts 950
    I had this same problem as the first poster described.

    However before reading any posts I went in as host and changed the portal alias from
    localhost/DNN

    to

    OPP

    Now I lost my entire portal!!! How do I get it back?
  • Re: Local or not local (Domain name does not exist in the database)

    01-01-2004, 8:20 PM
    • Star
      8,495 point Star
    • christoc
    • Member since 01-03-2003, 7:49 AM
    • St. Louis, Missouri
    • Posts 1,560
    You'll probably have to get into your database portals table and modify the alias column.

    Do you have access to the database to do that?

    Did you make it OPP

    or
    localhost/OPP ?
  • Re: Local or not local (Domain name does not exist in the database)

    01-01-2004, 8:30 PM
    • Participant
      1,055 point Participant
    • Tom.Smith
    • Member since 05-03-2003, 8:10 AM
    • Posts 211
    The easiest fix would be to go into the portals table and change the name there, in the PortalAliases field.
  • Re: Local or not local (Domain name does not exist in the database)

    01-01-2004, 9:14 PM
    • Contributor
      4,750 point Contributor
    • JakeJeck
    • Member since 04-22-2003, 9:31 AM
    • Milwaukee
    • Posts 950
    Thanks guys. I went into my db and fixed it in the Portals table.
  • Re: Local or not local (Domain name does not exist in the database)

    03-27-2004, 11:22 PM
    • All-Star
      16,504 point All-Star
    • hooligannes97
    • Member since 09-26-2003, 10:57 AM
    • Bolivia
    • Posts 2,917
    • Moderator
    Anyone got this working on a remote server???
    Do you know the truth when you hear it?
Page 1 of 1 (7 items)