admin管理员组

文章数量:1122832

I've been trawling google and looking through various articles but seem to have ended up in a massive mess now!

I have had domain myprivatesite. The domain is registered with a different company to the hosting. It's been running (non-multisite) Wordpress for a while, with the Wordpress install in a sub-dir. I have an SSL cert on the domain (provided by the web host) and then enabled cloudflare for CDN via the hosts cPanel plugin. This has been running great!

Yesterday I decided to bring my company back to life, and decided to make it a multisite to my first site.

I followed the instructions from codex to turn myprivatesite into a multi site install, and created a new site for mycompany. In cPanel I created an addon domain for mycompany and set the document root to the Wordpress installation dir used by myprivatesite and then added an SSL cert as well. I then tried to use MU Domain Mapping plugin to get the second top level domain working.... and well... it's all gone to hell! The private site is working ok still but the addon domain is just not going anywhere.

I'm ok with dropping the whole lot and starting over (it was getting to be a mess anyway) so wondering what the recommended way to get this up and running is?

Objectives:

  1. Multiple sites under one Wordpress install
  2. Shared and unshared themes and plugins across the various sites
  3. Each site on a top level domain (though I won't rule out wanting to have a subdomain some time in the future)
  4. SSL on each site

Currently I have SSL certs for each site. Though I'd like to simplify (or at least cut the costs on certs) by either consolidating to a single cert, or using LetsEncrypt certs (if I can get a good process for uploading new certs, given that cPanel doesn't seem to have a simple plugin yet.

I'm thinking something like:

  1. Backup content from the sites I want still
  2. Drop all content and clean out my web dir
  3. Setup the addon domains in cPanel and the domain registrar and test with a simple index.html
  4. Add SSL and test the index.html again
  5. Add Cloudflare and test*
  6. Install Wordpress to a separate folder in the web root and configure as multisite
  7. Add all my sites to the multisite network
  8. Some stuff here!!!
  9. Setup the sites themselves and add content

    • cloudflare is not a requirement, i get it for free, so I figure "why not?!"

It's steps #6 & #8 that I guess I'm not 100% clear on.

  • how should Wordpress be installed here? I've read some people have installed Wordpress but not actually linked the install to a domain name (?)
  • should I be using domain or path setup?
  • are there separate steps I've missed for TLD multisite? Is Domain Mapping plugin actually required? (I've read conflicting reports)

Thanks! Hopefully I've provided all the info, if not feel free to ask and I'll do my best!

I've been trawling google and looking through various articles but seem to have ended up in a massive mess now!

I have had domain myprivatesite.com. The domain is registered with a different company to the hosting. It's been running (non-multisite) Wordpress for a while, with the Wordpress install in a sub-dir. I have an SSL cert on the domain (provided by the web host) and then enabled cloudflare for CDN via the hosts cPanel plugin. This has been running great!

Yesterday I decided to bring my company back to life, and decided to make it a multisite to my first site.

I followed the instructions from codex to turn myprivatesite.com into a multi site install, and created a new site for mycompany.com. In cPanel I created an addon domain for mycompany.com and set the document root to the Wordpress installation dir used by myprivatesite.com and then added an SSL cert as well. I then tried to use MU Domain Mapping plugin to get the second top level domain working.... and well... it's all gone to hell! The private site is working ok still but the addon domain is just not going anywhere.

I'm ok with dropping the whole lot and starting over (it was getting to be a mess anyway) so wondering what the recommended way to get this up and running is?

Objectives:

  1. Multiple sites under one Wordpress install
  2. Shared and unshared themes and plugins across the various sites
  3. Each site on a top level domain (though I won't rule out wanting to have a subdomain some time in the future)
  4. SSL on each site

Currently I have SSL certs for each site. Though I'd like to simplify (or at least cut the costs on certs) by either consolidating to a single cert, or using LetsEncrypt certs (if I can get a good process for uploading new certs, given that cPanel doesn't seem to have a simple plugin yet.

I'm thinking something like:

  1. Backup content from the sites I want still
  2. Drop all content and clean out my web dir
  3. Setup the addon domains in cPanel and the domain registrar and test with a simple index.html
  4. Add SSL and test the index.html again
  5. Add Cloudflare and test*
  6. Install Wordpress to a separate folder in the web root and configure as multisite
  7. Add all my sites to the multisite network
  8. Some stuff here!!!
  9. Setup the sites themselves and add content

    • cloudflare is not a requirement, i get it for free, so I figure "why not?!"

It's steps #6 & #8 that I guess I'm not 100% clear on.

  • how should Wordpress be installed here? I've read some people have installed Wordpress but not actually linked the install to a domain name (?)
  • should I be using domain or path setup?
  • are there separate steps I've missed for TLD multisite? Is Domain Mapping plugin actually required? (I've read conflicting reports)

Thanks! Hopefully I've provided all the info, if not feel free to ask and I'll do my best!

Share Improve this question edited May 20, 2017 at 9:28 The Naughty Otter asked May 19, 2017 at 6:57 The Naughty OtterThe Naughty Otter 1115 bronze badges 1
  • I'm having a similar problem to you. Can you share how you solved it and answer your own question? – Mat Commented Mar 2, 2018 at 13:21
Add a comment  | 

1 Answer 1

Reset to default 0

I have the same issue I got the multisite working by mapping my domain but if you do an add on domain it creates a folder for that site and breaks everything. So I can not have email attached to the domain unless I buy an email plan from godaddy are the like. Thinking buying the email plan is cheaper than the headaches I have run into.

But from my experience with WPMU Domain Mapping plugin is: Setup Primary Multisite Once you have a new domain for a new site point the A record to a dedicated IP address as soon as that is propagated than go into yoursite.com/sitetobemapped Add the domain name and you will see it come up Valid once that is done your domain is mapped.

本文标签: Wordpress Multisite with cPanel Addon Domains and SSL