Search  
   
Browse by Category
 
Netfirms 24/7 Support .: E-COMMERCE .: Netfirms Commerce Pro .: Configurations and Customizations .: How do I get my domain name to display in the address bar for my Netfirms Commerce Pro rather than the membername?

How do I get my domain name to display in the address bar for my Netfirms Commerce Pro rather than the membername?

To ensure that your Netfirms Commerce Pro catalog displays your domain name as opposed to your Netfirms subdomain (membername.netfirms.com) please follow these steps:

A. Configure Domain Forwarding For Your Domain:
1. Login to the Netfirms Members Control Panel at https://controlpanel.netfirms.com
2. Click Domains
3. Click Domains
3. For the domain you wish to configure, click the plus sign beside the Domain Name
4. From the Source tab, locate the Home Directory box and enter the relative path of the shopping cart (where shoppingcart_directory is the directory where you have installed Commerce Pro): /shoppingcart_directory/catalog/
5. Click Modify

B. Modify Commerce Pro Configuration File:
1. Using an FTP tool (eg. Filezilla) download a copy of ../catalog/includes/configure.php
2. Using a text editor (eg. Notepad), open configure.php and locate the following line -

define('HTTP_SERVER', 'http://membername.netfirms.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://membername.sslpowered.com');
define('HTTP_COOKIE_DOMAIN', 'membername.netfirms.com/shoppingcart_directory');
define('HTTPS_COOKIE_DOMAIN', 'membername.sslpowered.com/shoppingcart_directory');

3. Change the above lines to:

define('HTTP_SERVER', 'http://yourdomain.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://membername.sslpowered.com/shoppingcart_directory/catalog');
define('HTTP_COOKIE_DOMAIN', 'membername.netfirms.com/shoppingcart_directory');
define('HTTPS_COOKIE_DOMAIN', 'membername.sslpowered.com/shoppingcart_directory');

4.  The following definitions should be updated so that the values read "/":
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');


5. Upload the revised configure.php back to the the server in ../catalog/includes/

How helpful was this article to you?


.: Powered by Lore 1.5.6
Visit Netfirms.com Web Hosting | Copyright © 1998 - 2009 Netfirms, Inc. All Rights Reserved.