Go Back   HostGator Peer Support Forums > Public Forums > Pre-Sales Questions

Notices

Reply
 
Thread Tools
  #1  
Old 04-20-2006, 12:03 PM
MikeinSC MikeinSC is offline
Hatchling Croc
 
Join Date: Apr 2006
Posts: 18
Default How do I Prepare My Ecommece Site for "Live" Readiness

I currently have an ecommerce site hosted with another company. It is live an available at the moment. However, what I would like to do is addon that domain to my account here (Baby plan) at Host Gator, and use OSCommerce. In the meantime, it will take me some time to get everything up and tested using OsCommerce before making the switch and launching ecommerce site on Host Gator.

How can I effectively test out OSCommerce in a addon domain "Sandbox" environment on Host Gator, when I am required to point the DNS to Host Gator upon adding that domain? I want to essentially test my new ecommerce site on Host Gator, but I don't want potential customers being routed to my future store that is not open for business yet. Does this make sense what I am asking?

Thanks everyone.
Reply With Quote
  #2  
Old 04-20-2006, 08:31 PM
chaloupe's Avatar
chaloupe chaloupe is offline
King Croc
 
Join Date: Nov 2004
Location: Moncton, New-Brunswick, Canada
Posts: 1,176
Default Re: How do I Prepare My Ecommece Site for "Live" Readiness

Hi MikeinSC,

Just do a subdomain and don't put the oscommerce right at the root of the subdomain, put the files in a folder call shop and you can even put a password protected page so you will only be available to test and see your shop


I have done that with a lot of site on mambo and Jommla services. I went in the config.php files and change the live site from:
This is an exemple on how to do it without a addon domain. After you see that the OSCommerce that is on HG is ok, put all files from the OSCommerce to the root directory and change the $live_site to http://domain.com in the config files. If you need the script to be on another domain, it's almost the same thing, just change the live_site config to point to the domain...

Also I know that OSCommerce older version was working with the 'register global on' but now host will run it to off. I think if you need it and the server show it to off than you can use the .htaccess to make the register global to on,

You are able to turn 'register_globals' on and off via a simple .htaccess file.

If you wish to turn it on, create a file called .htaccess and within that file add the following line;

php_flag register_globals on

However, should you want to turn it off, you would simply use the following line instead;

php_flag register_globals off

Best Regards,
__________________
Jean Boudreau - SysAdmin WannaBe @ Host And Mail
Shared, Reseller cPanel Hosting and Backup Solutions
http://www.hostnmail.com/
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Forum Jump

All times are GMT -6. The time now is 07:27 AM.

 
Forum SEO by Zoints