Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Moving Store to Sub Domains???? How???


Platinum Games

Recommended Posts

Posted

Hello All,

 

I would like to change my store to a sub domain on my site,

eg: http://shop.name.com.au

is it a big process to change for standard URL to Sub URL.

 

i do understand that files will have to be moved to new directory(sub folder) but will this effect the way the store works?

 

currently i have a folder structure of

 

/cgi-bin/oscommerce/...........................

URL - www.name.com.au/cgi-bin/oscommerce/index.php

i would like to change it to:

Sub domain - /cgi-bin/shop/

URL - http://shop.name.com.au/cgi-bin/shop/index.php

 

can someone please explain what needs to be done or point me to a thread on this board.

 

please explain in detail.

 

Thanks

Thanks in advance!

 

Ben

Posted

Basically move it and then change

 

/includes/configure.php

 

admin/includes/configure.php

 

Just create another database

 

Copy everything

 

Load it to other domain without touching current site. upload duplicate copy of database to new database and have configure files point there.

 

This way without affecting current site you'll see if everythings ok.

 

My site is http://www.misterbling.com

 

I have a "test" site at a subdomain http://test.mister

 

I obviously cut that url in half as I don't want bots there but think it'll show this in action. I can test code there before going live seperate database/doamin. hope this helps.

Posted
Basically move it and then change

 

/includes/configure.php

 

admin/includes/configure.php

 

Just create another database

 

Copy everything

 

Load it to other domain without touching current site. upload duplicate copy of database to new database and have configure files point there.

 

This way without affecting current site you'll see if everythings ok.

 

My site is http://www.misterbling.com

 

I have a "test" site at a subdomain http://test.mister

 

I obviously cut that url in half as I don't want bots there but think it'll show this in action. I can test code there before going live seperate database/doamin. hope this helps.

 

 

I will give that a go but do i need to have a seperate DB or can i just use the one i have?

Thanks in advance!

 

Ben

Posted
You can use the directory you currently use.

 

I'm curious as to why the shop is in the cgi-bin directory. That is not really the place for it.

 

Jack

 

 

with my host plan they offer an install for OSC and that is where it defaults to, works fine for me.

Thanks in advance!

 

Ben

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...