Results 1 to 4 of 4
  1. #1
    Join Date
    Oct 2008
    Posts
    6
    Plugin Contributions
    0

    Default Development Server

    My client has an existing static website. I have set up a new account for this client on my dedicated server and installed zencart. But, I don't want to change the DNS to point to the new server until the site is ready. Prior to changing the DNS, the new site can be access with the IP address.

    I changed includes/configure.php like this:
    define('HTTP_SERVER', 'http://74.52.125.242/~tealeave');
    define('HTTPS_SERVER', 'https://74.52.125.242/~tealeave');

    I changed admin/includes/configure.php like this:
    define('HTTP_SERVER', 'http://74.52.125.242/~tealeave');
    define('HTTPS_SERVER', 'https://74.52.125.242/~tealeave');
    define('HTTP_CATALOG_SERVER', 'http://74.52.125.242/~tealeave');
    define('HTTPS_CATALOG_SERVER', 'https://74.52.125.242/~tealeave');

    The Admin page works fine. But on the main page, the CCS link still points to the Domain Name which, of course, resides on another server. How can I get this to work before I'm ready to change the DNS?

    Go to http://74.52.125.242/~tealeave/ you will see what I mean.

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Development Server

    That is supposed to work if you have things configured correctly...

    As this is your own, give this a dedicated IP and access by IP only

    or transfer the DNS and place the static page in the root and it should load preferentially and access ZC with /index.php
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Oct 2008
    Posts
    6
    Plugin Contributions
    0

    Default Re: Development Server

    Thanks for the info. It never occurred to me that the static site can co-exist with Zen Cart installed in the root. I'm going to do that.

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Development Server

    Deoending, you might need one of these added to your .htaccess and depends upon how your configured

    You can add

    AddHandler application/x-httpd-html htm php

    or

    DirectoryIndex index.html or htm or what ever the extention of the static file is
    Zen-Venom Get Bitten

 

 

Similar Threads

  1. v151 Setting up a development server
    By BGundlach in forum General Questions
    Replies: 3
    Last Post: 24 Jun 2014, 07:27 AM
  2. Replies: 1
    Last Post: 5 Mar 2014, 12:46 PM
  3. Having a 'GHOST' Development Server?
    By wizer in forum Basic Configuration
    Replies: 3
    Last Post: 13 Aug 2011, 08:57 PM
  4. Development / Maintenance Server on PC?
    By ronlee67 in forum General Questions
    Replies: 4
    Last Post: 19 Feb 2008, 10:02 AM
  5. WAMP5 as development server question
    By Sueter in forum Installing on a Windows Server
    Replies: 3
    Last Post: 4 Nov 2006, 02:52 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg