Pointing sub domain to Concrete5 folder = issue

Permalink
I've created a Concrete5 website and am currently hosting it on GoDaddy. I have it in a sub folder of another domain and when i enter ie. maindomain.com/Concrete5site the site shows up great. however if I try to point a sub domain to that folder, it will not show up and actually end up displaying as maindomain.com.

I'm not sure if this is a clear way of explaining it.
But I would like for a user to simply type in concrete5site.com and get the same content as if they typed in maindomain.com/Concrete5site

anyone have an idea of how to achieve this?
Thank you much.

 
Adreco replied on at Permalink Reply
Adreco
I believe you are treating it as a sub-domain instead of an additional domain. If I remember correctly, Godaddy's economy hosting allows only sub-domains (attached to your primary domain), but their deluxe bundle allows you to add additional stand-alone domain folders to the root that are accessed directly as you're looking for them to be. Of course it all comes at a cost :(
If you are using the basic hosting, it'll cost 2 or 3 bucks extra a month to upgrade.
tj34 replied on at Permalink Reply
You are correct. I am talking about an additional domain and not sub domain on a deluxe hosting plan. I apologize for the misnomer. But this problem doesn't have anything to do with my hosting plan.
I'm not sure how to explain this. Lets just call the primary domain on this deluxe plan "main.com". i have a bunch of sites hosted on this plan in folders in main.com with their own individual domains pointing to their respective folders. So the actual path is main.com/folder, but the user sees it as folder.com.
However, I'm trying to point a domain at the concrete5 folder and it is not getting the results I expected. If I type in main.com/concrete5folder, the site fires off great. But if I try using the domain assigned to that folder (ie. concrete5folder.com), it stalls for a sec and then takes the user to main.com.
Once again, I'm not sure if I am explaining this correctly.
So, sorry for that. I appreciate you trying to help me out.
Adreco replied on at Permalink Reply
Adreco
Ouch! My head hurts from trying to remember how I used to have this set up ;>)
I believe it works most reliably if you have a folder next to, not in, your main domain. See following Godaddy help, in particular #7
"To Add Domains
1.Log in to your Account Manager.
2.From the Products section, click Web Hosting.
3.Next to the hosting account you want to use, click Launch.
4.In the Settings section of the Hosting Control Center, click the Domain Management icon.
5.Click Add Domain.
6.Enter the domain name in the Domain field.
7.For Deluxe and Ultimate plans, enter a new or existing folder in the Folder field. This is where the new domain will point. If you do not enter a folder, your domain will point to the hosting directory root.
Do not enter any spaces in the Folder field.

Click OK."


I hope this helps you. Its been a while, but I did at one time have multiple C5 installs on one Godaddy account without any problem showing URLs correctly or getting to the proper site so I know it works.
tj34 replied on at Permalink Reply
Once again, I appreciate you trying to help.
The issue isn't with the hosting. I am fully aware of how GoDaddy works. I have multiple websites set up this way and all of them work except the one with Concrete5 cms.
While searching through Community posts, I'm thinking maybe it has something to do with the .htaccess or request.php. I've tried to make some tweaks, but to no avail.
Adreco replied on at Permalink Reply
Adreco
Hope it works out! Its been so many versions ago that what worked for me may not even apply to your situation.

Be sure to post what you find :)
pandemicfoundry replied on at Permalink Reply
Were you able to figure this out?
I too have an install in a folder i can't access with an addon domain. If i insert a index.html file in the c5 root folder, the domain works but not without one.
tj34 replied on at Permalink Reply
I did and didn't come back with the answer... what a crumb i am.

If you go into the config folder you should find 2 php files.
You'll want to edit site.php

it should appear something like this...

<?php
define('DB_SERVER','yourdatabasename.db.XXXXXX.whateveryourhosting.com');
define('DB_USERNAME', 'YOURdbUserName');
define('DB_PASSWORD', 'YOURdbPassword');
define('DB_DATABASE', 'YOURdbName');
define('BASE_URL', 'http://domainofsiteC5isfor.com');
define('DIR_REL', '');
define('PASSWORD_SALT', 'crazyAmountofUniqueNumbersAndLetters');

my issue was what i named 'BASE_URL' (or what the Install named the 'BASE_URL' when I originally started the site). I can't remember what the default setting was, but i think it was 'http://maindomain.com'
I simply changed that to the AddOndomain, ie.
define('BASE_URL', 'http://AddOndomain.com');
and it worked. If it doesn't, just make sure the domain via your domain manager account is pointing to the correct folder, ie. main.com/C5

Let me know if this works out for you.