Zen Cart Logo
Forums / General Questions / Change Domain Name to subdomain

Change Domain Name to subdomain

Locked

Views: 1,027

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
13 Jul 2009, 4:58 PM
#1
raindrop2309 avatar

raindrop2309

New Zenner

Join Date:
Jun 2009
Posts:
8
Plugin Contributions:
0

Change Domain Name to subdomain

I installed zen cart to http://www.domain.com/shop and now I want to move it to http://shop.domain.com I have edited admin/includes/configures.php and includes/configures.php to read

define('HTTP_SERVER', 'http://shop.domain.com');
define('HTTPS_SERVER', 'https://shop.domain.com');

and admin/includes/configures.php

define('HTTP_SERVER', 'http://shop.domain.com');
define('HTTPS_SERVER', 'https://shop.domain.com');
define('HTTP_CATALOG_SERVER', 'http://shop.domain.com');
define('HTTPS_CATALOG_SERVER', 'https://shop.domain.com');

I can see the store but none of the images show up just text.

13 Jul 2009, 6:43 PM
#2
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: Change Domain Name to subdomain

Quickest and easiest way is to install a new cart in the sub domain as this creates correct configure.php files
keep the configure files and replace the files with yours

Only edit them as to the Database details

Done