multiple sites on server

Permalink
I've had my website up and running for 3 years now. I have put my wife's domain on my account now (she only needs one page -- no big deal). However, I'm wanting to put my father-in-law's site up on my server. He's got a site up and running on another server, we are planning to move it to my server. Here's the problem (as I see it...to all of you, I'm hoping it's not a problem at all and you can make this simple for me) ... I need to get something up and running on my site, so we can get it running, before we switch the domain to point to my server (we don't want downtime). I have the mysite.com and I'm putting his site at say, mysite.com/dad. As I understand it, I'm going to be putting in the base server url (I forgot what info concrete5 needs initially, but base server is one and the other info is the database, I believe. Well, if I'm putting the base server in as, in this scenario, mysite.com/dad ... what happens when I bring his site to my server and want dad.com as the base server url? Am I making this too complicated?

I'm hoping someone can help me and make it very simple. :-) Thanks in advance!

bishopdennis
 
tommyf replied on at Permalink Reply
>what happens when I bring his site to
>my server and want dad.com as the base server url?

There should not be any problems.

You just change the baseurl in the config-file. I have done this several times when moving a installation from a subdomain to the actual domain.
bishopdennis replied on at Permalink Reply
bishopdennis
I thought it would be something as simple as this ... for those who might know where the config file is. I've looked in the config folder, but where is it that I change the baseurl.

I appreciate all the help that each of you give! Thanks.
Mnkras replied on at Permalink Best Answer Reply
Mnkras
your /config/site.php should look something like this:
define('DB_SERVER', 'mysql.yoursite.com');
define('DB_USERNAME', 'username');
define('DB_PASSWORD', 'pass');
define('DB_DATABASE', 'dbname');
define('BASE_URL', 'http://site.com');
define('DIR_REL', '/dad');
define('PASSWORD_SALT', 'JKSD84KSFU94WJHFS984JS0F03JF0SJ3');


all you need to do is make it like this:

define('DB_SERVER', 'mysql.yoursite.com');
define('DB_USERNAME', 'username');
define('DB_PASSWORD', 'pass');
define('DB_DATABASE', 'dbname');
define('BASE_URL', 'http://site.com');
define('DIR_REL', '');
define('PASSWORD_SALT', 'JKSD84KSFU94WJHFS984JS0F03JF0SJ3');
bishopdennis replied on at Permalink Reply
bishopdennis
Thank you! I found it.

I appreciate your help.