charlieworks Posted February 29, 2004 Share Posted February 29, 2004 Hello, im looking to start a web site. The hosting company is giving me 2 different domain names. I want to split them up and use them for 2 different sites. And they give me 1 mySQL database. I need an explination, on if i can actually split 2 domains up into 2 different sites on the same account, but have them share the same mySQL. And how do i get osCommerce to work with it all? Link to comment Share on other sites More sharing options...
OceanRanch Posted February 29, 2004 Share Posted February 29, 2004 You can set the two domains up on the same server with no problem. Each domain/customer will have his own oscommerce source code and associated configure.php files that point to the proper directories and also contain the database information (username,login,database). I'd try to get your ISP to give you two databases on the server, defined (i.e. osc_domain1, osc_domain2). This would keep it simple. That being said there is a thread and a contribution that actually does alot more than what I'd recommend above. You might want to check it out. http://www.oscommerce.com/forums/index.php?sho...=0entry275246 HTH Tom Link to comment Share on other sites More sharing options...
charlieworks Posted February 29, 2004 Author Share Posted February 29, 2004 I have sent an email to my host. The problem is, im going to sign up with 1and1 hosting, and they are really really big. I dont think they will customize for 1 person. I would like to keep it simple though. Link to comment Share on other sites More sharing options...
fmerrill Posted March 1, 2004 Share Posted March 1, 2004 the simplest way to do this with 1and1 (they are not going to give you another database, and you won't need it in reality) is to add prefixes to the tables in one or both instances of osC that you will be running. this will create tables that have different names and there will be no cross-over of data. you'll simply be inserting data and making queries from one shop to one set of tables, and for the other shop to a different set of tables using the same database. just make sure since both shops will be dependant upon that single database that you back up the db often. there is a contribution called PREFIX that you should be able to find that should work fine. also, 1and1 may (depending upon plan) offer a shared SSL, and you can also purchase a dedicated ssl (but you have to do it through them, they will not install it, or let you install it otherwise). the shared one is a pain to make work, but it can be done, the dedicated one is very easy. see if they will allow you to use 2 dedicated certs. their dedicated ssl cert pricing is charged on a per month basis, so it does make it a bit easier to do if funds are scarce. this is all assuming that you will be using one of their shared hosting options, not a dedicated one. Link to comment Share on other sites More sharing options...
charlieworks Posted March 1, 2004 Author Share Posted March 1, 2004 I DIDNT UNDERSTand a thing you just said!!!!!!!!!!!! I think im just going to get the top hosting plan, that is 20.00 a month. Does anyone recommend any other hosting plans that are better than 1and1? Link to comment Share on other sites More sharing options...
comshop Posted March 2, 2004 Share Posted March 2, 2004 try www.Firstcallhosting.com they offer unlimited sql databases & shared ssl on there platinum hosting for around ?70-?80 a year. 1 and 1 only offer 2 sql databases for a lot more money Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.