Development Licence - Host Headers and IP

For general questions and discussions specific to the AbleCommerce 7.0 Asp.Net product.
Post Reply
niall08
Commander (CMDR)
Commander (CMDR)
Posts: 175
Joined: Tue Dec 09, 2008 10:29 am

Development Licence - Host Headers and IP

Post by niall08 » Wed Feb 11, 2009 3:18 am

Hi all..

We're a small development house - our development and production servers are essentially one-and-the-same - with the purchase of AbleCommerce we supplied the eventual domain name for the e-store and the IP of the development server.

But the demo version we ran used a host header to resolve to a sub-domain of our own site, which we want to continue to use for development until we're ready to go into production.

Using the development licence for the IP alone has produced a 404 error.

Has anyone encountered the same problem and, more importantly, come across a solution to this problem?

User avatar
mazhar
Master Yoda
Master Yoda
Posts: 5084
Joined: Wed Jul 09, 2008 8:21 am
Contact:

Re: Development Licence - Host Headers and IP

Post by mazhar » Wed Feb 11, 2009 6:06 am

Key is bounded to the domain name. So if domain name is going to change then you will need another key for new domain.

niall08
Commander (CMDR)
Commander (CMDR)
Posts: 175
Joined: Tue Dec 09, 2008 10:29 am

Re: Development Licence - Host Headers and IP

Post by niall08 » Wed Feb 11, 2009 6:43 am

Thanks Mazhar..

Can the new development key be domain based? (i.e. one domain for production, one for development?)

Or can the key be based on the format of xxx.xxx.xxx.xxx:80/subdomain.domain.com?

User avatar
jmestep
AbleCommerce Angel
Posts: 8164
Joined: Sun Feb 29, 2004 8:04 pm
Location: Dayton, OH
Contact:

Re: Development Licence - Host Headers and IP

Post by jmestep » Wed Feb 11, 2009 7:21 am

You can add demoMode="true" to the first line in the App_Data/ablecommerce.config file and your dev site should run OK with that. Any orders will come thru with Demo Demo for name. I have to do that on my computer because I use RoadRunner and the ip address changes periodically.
Judy Estep
Web Developer
jestep@web2market.com
http://www.web2market.com
708-653-3100 x209
New search report plugin for business intelligence:
http://www.web2market.com/Search-Report ... -P154.aspx

niall08
Commander (CMDR)
Commander (CMDR)
Posts: 175
Joined: Tue Dec 09, 2008 10:29 am

Re: Development Licence - Host Headers and IP

Post by niall08 » Wed Feb 11, 2009 8:40 am

jmestep - you're a star!

Great suggestion - thanks

Post Reply