Addon Domains, subDomain vs. subDirectory
I’ve read a number of post regarding this issue and none of them have helped me. Please bear with me as I take the time to fully describe my situation. I’m a newbie to WordPress and Multisite in particular, as will become obvious by my questions below.
My primary site is hosted with Justhost.com. They allow customers “unlimited domains” by giving them “addon domains”. This works like this: In cPanel I click on “Assign a domain to your account”, if it’s a domain not already associated with my account, I can choose “addon” “parked” or “unassigned”. The addon is defined: “An Addon Domain is a domain name that points to a different subdirectory on your account. This gives you the ability to make it look like an entirely different website.” It gets created in it’s own directory in public_html/. I have two addon domains that are named by the host as: domainOne.primary.com, and domainTwo.primary.com. I can type domainOne.com into the URL line and it shows up as a top level domain.
In my public_html/ WordPress Multisite is installed in the primary domain root. So in public_html/ there is no folder labeled primary, but there are folders labeled domainOne and domainTwo. These are very small sites with only two users and a couple of posts and pages. The primary site itself is just a default twentyeleven.
I’ve read through and followed the WP Codex on “Migrating Multiple Blogs to Multisite,” and “Create A Network,” but I’ve gone through two re-installs of Multisite on my primary and I’d really like to set this up right. Don’t even ask what went wrong, it would take too long to explain here.
It’s my understanding that if I choose the subDomain vs. the subDirectory option in the network setup then my imported domainOne will be named domainOne.primary.com — but it is ALREADY named this. So, with the wildcard I created *.primary.com — my site names for imported sites will become domainOne.domainONe.primary.com?
Can I set up multisite with the way my host is naming my addon domains as subdomains of my primary using the subDomain network setup option, or do I need to use the subDirectory option? If I use the subDirectory option then my imported multisite domains will look like primary.com/domainOne.primary?
Either way, is it possible? Or does multisite only work with individually hosted top level domain names?
I understand there is a Domain Mapping pluggin. Is this required for functionality or is it just to make the URL on the business cards look like domainONe.com, instead of domainOne.domainOne.primary.com? I’m more concerned about function than how it looks in the URL at this point.
I haven’t tried to use the Domain Mapping pluggin yet, but my understanding is that I would park domainOne (domainOne.primary.com) and point it to primary and WordPress multisite will recognize this and display the URL as domainOne. Is this correct? And I do this AFTER the site domainOne has been imported into Multisite with all it’s pluggins, themes, and content too. Correct? Or do I map the domain BEFORE I import it into Multisite?
Obviously, I have more questions, but I think this is enough for one thread. Thank you for taking the time to read through this and offer the details that the Codex seems to have skimmed over.
WordPress blows my mind. I started developing 12 years ago and gave up because the backend database management was so complicated. WordPress is so incredibly simple, intuitive, integrated, and extensible! My passion for web design has been rekindled and I’m looking forward to setting up my Multisite so I can build a ton of sites and make my client’s dreams come true.
- The topic ‘Addon Domains, subDomain vs. subDirectory’ is closed to new replies.