Page 1 of 2 12 LastLast
Results 1 to 10 of 14
  1. #1
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default changing domain name

    Firstly I checked to see if same question had been asked and could find no reference .

    Because of restrictions google have placed on .co.cc names (non indexing of sites) I have been forced to use myco.uk name now I have pointed name servers to reflect changes what changes to zen cart do I need to make so that .co.uk domain name is ok in zen


    kind regards
    craig

  2. #2
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: changing domain name

    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  3. #3
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: changing domain name

    Quote Originally Posted by afo View Post
    This article was very useful to me the 1st time I read it when I moved from a free server to a paid one.

    But this time I don’t need to move it I just need to know if there is any .co.cc references in config files that need changing too .co.uk

    Kind regards

  4. #4
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: changing domain name

    Understood. I thought that tutorial might mention it. Anyway, admin/includes/configure.php around lines 29-32 will need to be changed.

    Code:
    // Define the webserver and path parameters
      // Main webserver: eg, http://localhost - should not be empty for productive servers
      // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
      // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      // HTTP_CATALOG_SERVER is your Main webserver: eg, http://www.yourdomain.com
      // HTTPS_CATALOG_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      /* 
       * URLs for your site will be built via:  
       *     HTTP_SERVER plus DIR_WS_ADMIN or
       *     HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or 
       *     HTTP_SERVER plus DIR_WS_CATALOG or 
       *     HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
       * ...depending on your system configuration settings
       */
      define('HTTP_SERVER', 'http://www.yourdomain.com');
      define('HTTPS_SERVER', 'https://www.yourdomain.com');
      define('HTTP_CATALOG_SERVER', 'http://www.yourdomain.com');
      define('HTTPS_CATALOG_SERVER', 'https://www.yourdomain.com');
    Similar changes in includes/configure.php around line 17.

    Code:
    // Define the webserver and path parameters
      // HTTP_SERVER is your Main webserver: eg, http://www.yourdomain.com
      // HTTPS_SERVER is your Secure webserver: eg, https://www.yourdomain.com
      define('HTTP_SERVER', 'http://www.yourdomain.com');
      define('HTTPS_SERVER', 'https://www.yourdomain.com');
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  5. #5
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: changing domain name

    i replaced the above lines with my .co.uk but when i type raveskool.co.uk/shop i get page not found

  6. #6
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: changing domain name

    What do you have in includes/configure.php for:

    Code:
      define('DIR_WS_CATALOG', '/');
      define('DIR_WS_HTTPS_CATALOG', '/');
    and in admin/includes/configure.php for

    Code:
     define('DIR_FS_CATALOG',
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  7. #7
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: changing domain name

    When I go to http://www.raveskool.co.uk/shop, I get something that doesn't appear to be Zen Cart.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

  8. #8
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: changing domain name

    // Define the webserver and path parameters
    // Main webserver: eg-http://www.your_domain.com -
    // HTTP_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_SERVER is your Secure webserver: eg-https://www.your_domain.com
    // HTTP_CATALOG_SERVER is your Main webserver: eg-http://www.your_domain.com
    // HTTPS_CATALOG_SERVER is your Secure webserver: eg-https://www.your_domain.com
    /*
    * URLs for your site will be built via:
    * HTTP_SERVER plus DIR_WS_ADMIN or
    * HTTPS_SERVER plus DIR_WS_HTTPS_ADMIN or
    * HTTP_SERVER plus DIR_WS_CATALOG or
    * HTTPS_SERVER plus DIR_WS_HTTPS_CATALOG
    * ...depending on your system configuration settings
    *
    * If you desire your *entire* admin to be SSL-protected, make sure you use a "https:" URL for all 4 of the following:
    */
    define('HTTP_SERVER', 'http://www.raveskool.co.uk');
    define('HTTPS_SERVER', 'https://www.raveskool.co.uk');
    define('HTTP_CATALOG_SERVER', 'http://www.raveskool.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.raveskool.co.uk');

  9. #9
    Join Date
    Apr 2011
    Posts
    23
    Plugin Contributions
    0

    Default Re: changing domain name

    define('HTTP_CATALOG_SERVER', 'http://www.raveskool.co.uk');
    define('HTTPS_CATALOG_SERVER', 'https://www.raveskool.co.uk');

    should i change above files too
    ('HTTPS_CATALOG_SERVER', 'https://www.raveskool.co.uk/shop');

  10. #10
    Join Date
    Aug 2004
    Location
    New York City
    Posts
    7,174
    Plugin Contributions
    0

    Default Re: changing domain name

    No.

    In admin/includes/configure.php, you should have the following

    Code:
      define('DIR_WS_ADMIN', '/shop/admin/');
      define('DIR_WS_CATALOG', '/shop/');
      define('DIR_WS_HTTPS_ADMIN', '/shop/admin/'');
      define('DIR_WS_HTTPS_CATALOG', '/shop/');
    In includes/configure.php, you should have

    Code:
      define('DIR_WS_CATALOG', '/shop/');
      define('DIR_WS_HTTPS_CATALOG', '/shop/');
    and further down something like
    Code:
      define('DIR_FS_SQL_CACHE', '/home/public_html/shop/cache');
    The part I highlighted in red above is what you need to check (whatever's right before cache). If it's not shop/, insert shop/ between whatever's before cache and cache.
    Mary Ellen
    I came; I saw; I Zenned
    Taking over the world... one website at a time
    Make sure brain is engaged before putting mouth in gear... or fingers to keyboard.

    Holzheimer
    Fan Odyssey

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. Changing domain name & site name
    By rufusclc in forum General Questions
    Replies: 4
    Last Post: 2 Oct 2008, 06:48 PM
  2. Changing My Domain Name
    By mafiasam in forum Installing on a Linux/Unix Server
    Replies: 17
    Last Post: 30 May 2008, 02:46 AM
  3. Changing a domain name
    By scottypmiz in forum General Questions
    Replies: 2
    Last Post: 4 Feb 2008, 05:33 AM
  4. Changing domain name
    By dman76 in forum General Questions
    Replies: 4
    Last Post: 30 Nov 2007, 05:18 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