technobear — 2012-01-28T14:33:12-05:00 — #1
I'm about to move one of my sites to a new hosting company, which allows multiple sites to be hosted on the one (shared) hosting account, using the cPanel "Addon Domains" feature. I have three other sites I would like to move to the same account, but I wondered if there are any disadvantages to doing this? The sites are all very small, very low traffic and very low bandwidth usage, so I wouldn't envisage any kind of problems with resources.
ldcdc — 2012-01-28T16:54:35-05:00 — #2
I usually setup a 301 redirect (to itself) with each addon domain so that the search engines don't get duplicate content via addonsubdomain.maindomain.com (addons create a subdomain) or via maindomain.com/addondomain (cPanel now allows the usage of folders outside /public_html, and doing so would take care of this anyway).
Other than that, addon domains should work great for small sites.
roydovaston — 2012-01-30T07:35:54-05:00 — #3
Have you considered a VPS? That way you'll have full control and you won't be affected by any of the other sites on the shared server? I've had a recent situation where i've had to move from shared hosting because of other sites either having huge bandwidth requirements or just for whatever reason those other sites affecting my performance to the point of downtime
technobear — 2012-01-30T10:28:55-05:00 — #4
Thank you. It hadn't occurred to me that these would effectively be sub-domains. So you're saying that three addresses would all point to the same page: maindomain.com/seconddomain.com/page.html, seconddomain.com.maindomain.com/page.html and seconddomain.com/page.html? Is a 301 redirect the best way to deal with these, or is there a better way using mod_rewrite?
Excellent - thank you.
Thanks for the suggestion, but it would be a bit of an overkill. The four sites combined will take up less than 60MB disc space.
inogenius — 2012-01-30T10:43:59-05:00 — #5
I think a VPS might be a bit overkill; a shared hosting account or a reseller account is definitely all that is needed.
I think the biggest thing would be if the sites grow at all, they're a little bit harder to manage as addon domains than a completely separate account. If you do plan on growing them at all, a reseller account would definitely have it's advantages.
ldcdc — 2012-01-30T13:05:52-05:00 — #6
So you're saying that three addresses would all point to the same page:
Indeed, that's how it works. "maindomain.com/seconddomain/page.html" won't work if you choose to use a folder outside "public_html".
Is a 301 redirect the best way to deal with these, or is there a better way using mod_rewrite?
I imagine there might be a better/more proper way, but this is what worked fine for my purposes. I'm sure that this is a very common concern and several solutions can be found with a Google search.
I've had a recent situation where i've had to move from shared hosting because of other sites either having huge bandwidth requirements or just for whatever reason those other sites affecting my performance to the point of downtime
That's just a sign of poor quality shared hosting (i.e. a host not doing its job right), not a reason to avoid shared hosting in general.
technobear — 2012-02-01T11:02:57-05:00 — #7
Just a couple of daft questions.
(1) Can I set up e-mail/auto-responders etc. for the secondary domains?
(2) Presumably, things like AWStats will log everything under the main domain - or not? I've no idea how these things work. (Does it show? :lol: )
ldcdc — 2012-02-01T13:13:12-05:00 — #8
You can setup email @addondomain.com just fine. I've never setup auto-reponders myself, but it's just an email feature so I'm confident it'll work as well. Because addon domains double as subdomains for the main domain, AWStats will give you separate reports for those subdomains.
technobear — 2012-02-01T13:17:53-05:00 — #9
Brilliant - thank you.
irishman — 2012-02-01T16:44:58-05:00 — #10
I have several addon domains and dont need to do this. I just addon each domain as a seperate entity via cPanel, so I have 1stdomain.co.uk, 2nddomain.co.uk etc, all with their own email addresses
technobear — 2012-02-01T17:38:27-05:00 — #11
Yes, I understand that's how add-on domains work, that you can access them directly via the add-on domain name. However, if I've understood ldcdc correctly, they are technically sub-domains of the main domain, and can also be accessed as such, hence the need to prevent search engines regarding the three addresses as duplicate content.
irishman — 2012-02-12T16:05:15-05:00 — #12
If I enter http://www.1stdomain.co.uk.2nddomain.co.uk I get this message "xxxxx is unavailable or may not exist", so I assume this means the search engines will not find duplicate content
ldcdc — 2012-02-12T19:28:29-05:00 — #13
Try http://1stdomain.2nddomain.co.uk (assuming that 1stdomain is the addon domain).
gyaro — 2012-02-15T03:59:38-05:00 — #14
well if your hosting provider uses cpanel and if you have vulnerablities in scripts which you are hosting then it might be possible for your account to be hacked in cpanel because all addon domains is added in public_html folder so you must always keep backup of your websites.
i had suggest you to use dreamhost for hosting as you can backup from another host to yours for more then 10gb or anything from shell without any problems.
irishman — 2012-02-15T16:54:12-05:00 — #15
Just tried that and get the same result, "xxxxx is unavailable or may not exist", exactly what I would want