siavash Posted June 26, 2004 Posted June 26, 2004 I'd like to do two things: 1st: rename catalog to store or shop and rename admin to something else if possible. how can i do it?! 2nd: put my catalog (or whatever i call it) and especially admin in a subdomain i.e. http://catalog.mydomain.com and http://admin.mydomain.com how can i achive this with least possible hassle!? thanx for your help. Did you try? Did you fail? No matter! Try again. Fail again! But fail better!
vasttech Posted June 26, 2004 Posted June 26, 2004 1. Just rename the directories and edit the configure.php files to point to the new directories. 2. Create the two subdomains, copy the catalog directory to the directory for that subdomain, and edit the configure.php file. Then copy the admin directory to the directory for that subdomain and edit the configure.php file. osCommerce Knowledge Base osCommerce Documentation Contributions
siavash Posted June 26, 2004 Author Posted June 26, 2004 what exactly needs chaging in the config file. the paths? right? i need to do it manually right? Did you try? Did you fail? No matter! Try again. Fail again! But fail better!
Guest Posted June 26, 2004 Posted June 26, 2004 it is going to be lots of headaches if you do it that way, going back and forth. it can be done, but is it worth it?
siavash Posted June 26, 2004 Author Posted June 26, 2004 Mibble, it looks better! besides isn't it securer? Did you try? Did you fail? No matter! Try again. Fail again! But fail better!
vasttech Posted June 27, 2004 Posted June 27, 2004 Yes, it can be a little confusing to setup this way. I currently have my store running in a subdomain, just not the admin part. I renamed the admin directory to something off the wall, and it is password protected. Nothing is totally secure. A hacker has the same chance of finding the admin area in a subdomain as he does as a directory of catalog. In fact, the chances are probably higher since the subdomain is actually a dns entry. Yes, you will need to edit the configure.php files manually. Just edit the paths. osCommerce Knowledge Base osCommerce Documentation Contributions
siavash Posted June 27, 2004 Author Posted June 27, 2004 thanks. will give it a go. Did you try? Did you fail? No matter! Try again. Fail again! But fail better!
♥ecartz Posted June 27, 2004 Posted June 27, 2004 it looks better! besides isn't it securer?Considering that subdomains are published in public DNS, it is less secure (or obscure really) not more. To add security, restrict who can access the admin area by IP (as well as username/password) and use SSL to hide the username/password. Cheers, Matt Always back up before making changes.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.