WP Hive » Troubleshooting and How-To

Multiple Domains on Same Host

(3 posts)
  • Started 1 year ago by tbfree
  • Latest reply from kindledmind
  • 3 Members Subscribed To Topic

No tags yet.


  1. tbfree
    Member

    Not sure if HIVE will solve this issue...I am having sort of similar issues with 1and1.com hosting on linux.
    I am pulling out my hair trying figure out ways around it. but may just end up buying another hosting package everytime I need to launch a new site. here's my dilemma:

    I have 3 domains: A.com, B.com, C.com

    Installed WP on:

    Root = A domain
    Root/sub-dir-B = B domain
    Root/sub-dir-C = C domain

    WP-admin works fine when I use:
    A.com/wp-admin
    B.com/sub-dir-B/wp-admin
    C.com/sub-dri-C/wp-admin

    however, A.com/sub-dir-B or C/wp-admin also seems to pull up B.com / C.com/wp-admin

    And when a user visits "B.com/sub-dir-B/index.php" or "C.com/sub-dir-C/index.php" it's all good, they get taken to the respective WP-sites and sub-dir, but if the user types "B.com or C.com" they get taken back to the Root, which is "A.com".

    Yes, I've tried redirects, both HTTP, and Directory specific. The results were either 404, or themes completely disappear from B.com or C.com. A.com seems to be the dominant. Tried http.access, only breaking everything altogether. also tried 'settings' in wp-admin to point to dir, 404 again.

    The desire is to have multiple domains all pointing to their respective sub-dir, without user having to type in the entire "domain.com/sub-dir" to get there. user should just type in "A.com, B.com or C.com" to get the correct redirect.

    Tech support was zero help, and scoured the web for answers, nothing either. So ended up buying new hosting packages everytime for new wp sites.

    am I crazy ? sorry if this sounds basic, but I am pretty new to this and would love to hear if anyone has a similar experience.

    Thanks so much in advance!

    Posted 1 year ago #
  2. Mbird
    Member

    Hi tbfree,

    I don't know about the setup at 1&1 but as far as I know, 1&1 is almost the worst hoster in the world. I would recommend changing the hoster.

    Usually every domain should have it's very own root directory but not a subdir of an other domain.

    Maybe check your settings at 1&1 again if you find this. Maybe you just made your setup in such a way that domain B and domain C are just alias domains of domain A. This would be wrong. Don't mix up domains and subdirectories.

    Posted 1 year ago #
  3. kindledmind
    Member

    I have Arvixe (who is awesome) and I have a similar issue because the primary domain is placed in the root (public_html), but all others are placed in folders in the root (the folders act as a root folder public_html for them). I'm having a beast of a time setting my hive up.

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.