Join our DNN Community    (Newsletter, Tips, Tricks and Forums for DNN Skins & Modules)

 


 
Microsoft Gold Certified Partner - DNN Benefactor

DotNetNuke Powered! 


Friday, November 21, 2008 Register · Login · Contact · Search:  
Company Solutions Portfolio Contact
Forums
GoMap (free module)
Review and discuss the new FREE GoMaps module, Google Maps and DotNetNuke Integration.
Subject: Multiple Domain names
You are not authorized to post a reply.
 
Author Messages
mcox
Flyweight
Posts:2

05/18/2007 9:54 AM Alert 
This should be a simple question. I have a site with GoMap on it. The site has 2 different domain names. The Google API key only works for the domain name for which it was generated for. If I vist the site using the alternate domain name, the map does not work. What would be the best way to handle this issue? Is there a setting or module that will reload a page with a specified domain name whena site has more than one identity?
ewalker
Superweight
Posts:219

05/18/2007 10:01 AM Alert 
It's quite straight forward to setup:

1. Log into your site with the secondary identity (IE the one you did not use to setup GoMap).
2. Step through the GoMap Wizard again from this domain.
3. Request a new Google API key and added to the GoMap configuration. Even though GoMap will not show your old key anymore, it still remembers it in the configuration file.
4. Finish the configuration wizard. GoMap will now work from both sites.
5. There is no 5th step. That's it!

Eric Walker - R2integrated
mcox
Flyweight
Posts:2

05/18/2007 11:44 AM Alert 
Thank you for the prompt reply.
xwssupport
Featherweight
Posts:7

10/01/2008 5:27 AM Alert 
Hi Eric,

I'm picking up this thread because I have the same problem. I followed your steps, but at step 3 I wonder how to add the new key. Simply replacing the old key didn't work as expected - the map then showed only with the new domain, but not with the old one. Should I append the new key to the old one in the wizard? And if so, what separation character should I use?

BTW: I run Map 02.09.04 on DNN 4.08.04.
pmanda
Superweight
Posts:267

10/01/2008 2:53 PM Alert 
Did you check in the configuration file if it still retains the old key.

Praveena Manda
Software Engineer
Bi4ce,Inc
xwssupport
Featherweight
Posts:7

10/02/2008 9:25 AM Alert 
The old config file contained the key twice:

<APIKey>KEY</APIKey>
<APIKeys>
<anyType xsi:type="APIKey">
<Key>KEY</Key>
<HTTPAlias>3</HTTPAlias>
</anyType>
</APIKeys>


After running through Erics steps, the config file reads now:

<APIKey>NEW KEY</APIKey>
<APIKeys>
<anyType xsi:type="APIKey">
<Key>KEY</Key>
<HTTPAlias>3</HTTPAlias>
</anyType>
</APIKeys>


So I wonder what the correct syntax for two (or more) keys is. Any ideas?
bgates
Heavyweight
Posts:197

10/05/2008 11:51 AM Alert 
For better multi-domain support, I recommend upgrading to DNN Map (http://www.dotnetnuke.com/Products/Development/Forge/ModuleMap/tabid/952/Default.aspx). The configuration interface allows you to enter any number of keys matched to a domain. I don't believe there's a "upgrade" path, but DNN Map allows for custom data sources, so you'd still be able to use your existing data.

Bob Gates
Business Intelligence Force, Inc. (bi4ce)
xwssupport
Featherweight
Posts:7

10/06/2008 3:07 PM Alert 
OK Bob, thanks! I'll try the DNN Map.
You are not authorized to post a reply.
Forums > Bi4ce.Modules > GoMap (free module) > Multiple Domain names



ActiveForums 3.6
Latest Post
 
At R2integrated (formerly Bi4ce), we take support seriously.  That's why we support our customers and DNN community with daily monitoring from our experienced engineering team.  We ask that the first step taken is to read the relevant documentation and support forums prior to submitting any questions that may already be available or have been answered.  We ask that you review the documentation that we provide for our products before posting a question.

The Forums are for our customers to chat, exchange ideas and strategies, and submit feedback.  Please be sure to perform keyword searches for previous related forum responses.

To be helpful when submitting a new item, please include the following: 
  1. DNN Version
  2. Module Version
  3. Admin Log Viewer Information
  4. Environment detail: Operating system, .NET framework version, database and version, IIS version, Browser version (if appropriate)
We always try to respond quickly and monitor the forums daily during business hours (EST).  Occasionally, requests for a specific project requirement may not apply for the free support offered. For project specific support please submit via our Information Request form.

Thank you for using our Forums.

Click here to register for the Forums
 
© 2008 by R2integrated (formerly Bi4ce) | DNN® is a registered trademark of DotNetNuke Corporation