add on domain not finding folder

Permalink
I installed a new add-on domain at Bluehost under my gbaproduction.com site.
Addon Directory: public_html/MCK (C5 site folder)
Addon Parent: The domain mc4k.com is aliased to mc4k.gbaproductions.com
It works with html sites that I've added buthttp://www.mc4k.com directs to gbaproductions.com
Bluehost tech told me that C5 is directing back to my parent (gba) site.
My C5 site php is:

<?php define('FORM_BLOCK_SENDER_EMAIL', 'nfo@moneycentsforkids.com');?>
<?php
define('DB_SERVER', 'localhost');
define('DB_USERNAME', 'gbaprodu_cnc2');
define('DB_PASSWORD', 'QZt1SWEKTx');
define('DB_DATABASE', 'gbaprodu_cnc2');
define('BASE_URL', 'http://www.gbaproductions.com');
define('DIR_REL', '/MCK');
define('PASSWORD_SALT', 'AM3OAz2IV4Bp16x2JFTbz4Q6HwnoRfcm9N1tHig9vb7IS4jtxbhdGDkp6sEbjvYK');

Keeping in mind that "I know just enough to be dangerous" could someone please steer me to the solution.
Thanks - Gene

nickntime
 
Mnkras replied on at Permalink Reply
Mnkras
put 2 / before these 2 lines:
define('BASE_URL', 'http://www.gbaproductions.com');
define('DIR_REL', '/MCK');
so:

//define('BASE_URL', 'http://www.gbaproductions.com');
//define('DIR_REL', '/MCK');

Also remove the other information.
ThemeGuru replied on at Permalink Reply
ThemeGuru
Hey Gene first off I have a little question...

Did you create the add-on domain after creating this add-on directory?

It sounds as if c5 is actually configured before you added the add-on domain - that would explain the base_url config pointing to your parent URL.

First make sure the add-on domain is directed to the right directory.

Then after that's sorted out either move the c5 install OR (if c5 is in the right directory) change the base_url to:
define('BASE_URL', 'http://mc4k.com');

and change to the DIR_REL to:
define('DIR_REL', '');


Hopefully that should work if I'm heading the right direction. If not just add a comment or PM me :-)

- Thomas
nickntime replied on at Permalink Reply
nickntime
Thanks it worked great Mnkras,
What information should I delete?
Mnkras replied on at Permalink Reply
Mnkras
The database and salt info from the above post
On Oct 22, 2011 12:06 PM, "Concrete5 Community" <discussions@concretecms.com>
wrote:
nickntime replied on at Permalink Reply
nickntime
>Keeping in mind that "I know just enough to be dangerous"
I deleted the files you suggested but that caused the site to not display, even the home page. I un-deleted the files but the site cannot
be evoked. I can't even get to it by typing in the directory it's in.
gbaproductions.com/MCK. Need help , the client is showing it off tomorrow.
nickntime replied on at Permalink Reply
nickntime
Help - You now get an internal error message when attempting to navigate to another page. If I'm logged in it works OK.
Solution?
ThemeGuru replied on at Permalink Best Answer Reply
ThemeGuru
Just did what I posted and disabled pretty urls. Then I just remove the .htaccess file to make sure there wasn't anything left over (it was causing the 500 error). Then I reapplied pretty urls and it all works :-)
nickntime replied on at Permalink Reply
nickntime
Guru is definitely the right nickname for you Thomas.
For those of us that are learning these things you are
a great asset.
gene
ThemeGuru replied on at Permalink Reply
ThemeGuru
Thanks :-)