Forum Moderators: buckworks & webwork

Message Too Old, No Replies

How can I configure addon domain to be a standalone website?

         

john5000

7:48 am on Oct 28, 2006 (gmt 0)

10+ Year Member



Here is a question I just posed to my web host support:

I have added an addon domain (example.com) through cpanel, and I entered blabla into the UserName/SubDomain field. I then installed and configured a new wordpress blog inside the blabla folder. The blog installation was successful.

My problem is that I can access the new blog from multiple variations on the main domain including the subdomains (blabla.maindomain.com) and (www.blabla.maindomain.com), and also (www.maindomain.com/blabla).

I understand this is bad for SEO, and for keeping things separate for privacy reasons.

Is there anyway I can implement the addon feature while preventing the addon domain from being publicly associated with the main domain?

The response I got was that what I want to do is impossible and that I would need to purchase another hosting account for the separate domain. I don't doubt the sincerity of my host. I just think there should be some kind of work around for this.

So can anyone here suggest a way to prevent those alternate access points from being available on the web?

Benek

7:58 pm on Oct 29, 2006 (gmt 0)

10+ Year Member



As far as I know, If it's an addon domain than it's always going to reside as a directory of your main domain. I don't think it would be possible to get arround this. However, if there are no links to the addon domain and you never publish the address of the site as maindomain.com/blabla, then maybe noboday will ever enter the site this way and won't have to worry?

john5000

2:59 am on Oct 30, 2006 (gmt 0)

10+ Year Member



Yes, I agree Benek. I guess there's always the possibility that someone else could find the alternate URLs and link to them... but the chances of this do seem rather low. I'm thinking there might be some way to modify .htaccess to either redirect or return an error for those alternate URLs. Unfortunately, I know nothing about .htaccess accept how to copy and paste code into it :)

john5000

6:54 am on Oct 30, 2006 (gmt 0)

10+ Year Member



This thread can be killed as I've opened a new thread in the apache forum:
[webmasterworld.com...]