URL Question

From: DeannaG (CYBATRON)23 Jun 2015 21:19
To: ALL1 of 11
Okay, I need to pick a few brains here.

We've got a member who can reach the forums using http://forums.hanginoutforums.org

but not

http://www.forums.hanginoutforums.org


Either one works for me, but when using the www one they get a 404. I've never seen this before, and have been able to recreate it from my end.

What causes it, and it is something I can fix on our site's end?

Thanks for any help.
From: 99% of gargoyles look like (MR_BASTARD)23 Jun 2015 21:25
To: DeannaG (CYBATRON) 2 of 11
They both work for me, but the second one is wrong, I think. But I don't know your settings, so how on earth you've engineered that is a mystery.
From: DeannaG (CYBATRON)23 Jun 2015 21:31
To: 99% of gargoyles look like (MR_BASTARD) 3 of 11
Well I wanted people to go to the site with or without the www. What is wrong with the second one?

They both work for me as well. So far we've only got one person having this issue, but I don't want it cropping up all over the place. So I want to squash while it's young, before it grows teeth and comes back to bite me even harder.
EDITED: 23 Jun 2015 21:32 by CYBATRON
From: 99% of gargoyles look like (MR_BASTARD)23 Jun 2015 22:48
To: DeannaG (CYBATRON) 4 of 11
www is generally for a website
if your forum is the website then fine, but just use www
forums.xxx suggests a subdomain
use one or the other, not both
From: Peter (BOUGHTONP)23 Jun 2015 23:35
To: DeannaG (CYBATRON) 5 of 11
Well you've done something weird - I get an empty directory listing for them both.

The short answer is you probably want to setup parked domains, and it looks more like you've done addon domains (or something else) - you are using cPanel right?

Lets go back to the start and get it clear: do you want hanginoutforums.org and forums.hanginoutforums.org going to the same place or different? (Ignore the www versions for now.)

If the same what is the intent of having the forums subdomain?

Do you have the ability to view/edit DNS records directly?

From: DeannaG (CYBATRON)24 Jun 2015 16:42
To: 99% of gargoyles look like (MR_BASTARD) 6 of 11
The forums are a subdomain of HanginOutForums.
From: DeannaG (CYBATRON)24 Jun 2015 16:49
To: Peter (BOUGHTONP) 7 of 11
Yes. We have WHM/CPanel on our new VPS. Host is HostMonster.

HanginOutForums.org is the main site, and is an addon to cybatrons.com/org.

The subdomain forums.hanginoutforums.org is where the forums are located.

We have access to DNS tools in our WHM and CPanel.

I'm starting to think I'm going to have to set up the HanginOutForums.org services on their own account in the WHM. It's what I did at Linode and we didn't have these problems. It also gave each site it's own CPanel. I'm starting to think it would be my best option.

If I did that, HanginOutForums.org no longer be a addon domain, and maybe things would go back to functioning more like they did on our Linode VPS.
From: Peter (BOUGHTONP)24 Jun 2015 22:51
To: DeannaG (CYBATRON) 8 of 11
Ok, I've got a better idea of what you're doing now.

You could do it with three distinct accounts, but I do have a similar setup myself that works all under a single account. It seems I've done that using subdomains and addons

So the main account has accountdomain.com with the document root /home/account/public_html

Then I have subdomains for that setup outside of public_html:
other1.accountdomain.com -> /home/account/other1/www
other2.accountdomain.com -> /home/account/other2/www

I don't use those subdomains though - I have the relevant domains setup as addon domains:
other1.com -> /home/account/other1/www
other2.com -> /home/account/other2/www

I think if you setup hangingoutforums.org and forums.hangingoutforums.org in that way (pointing to whatever the appropriate directories are), then www.hangingoutforums.org will be handled by cPanel, and you can alias the www.forums.etc version to the non-www version (either using cPanel or setting up a CNAME DNS record), and it should all do what you want.

I don't know if I've explained that very well - let me know if not.

From: DeannaG (CYBATRON)25 Jun 2015 05:51
To: Peter (BOUGHTONP) 9 of 11
I think I got where you're coming from on it.

Right now we're on hold until I hear back from some of the members having access issues.

I appreciate the help. If you don't mind, I'd like to make a copy of your post and save it to my computer in my Site Help Docs folder I have on my flash drive. I'll just do a copy and paste into a text document and save. Okay?
EDITED: 25 Jun 2015 05:59 by CYBATRON
From: Peter (BOUGHTONP)25 Jun 2015 21:08
To: DeannaG (CYBATRON) 10 of 11
*shrug* Sure.
From: DeannaG (CYBATRON)27 Jun 2015 02:16
To: Peter (BOUGHTONP) 11 of 11
Thanks. I don't like to copy anything without a person's permission. Even if it's just for me. :)