Question

WP Multisite, different Domains, 1 Install

I followed the guides, and now have Wordpress MU with 3 websites. But, only the one I installed first works from it’s own address at the moment.

The other 2 are stuck at xx1.website1.com and xx2.website1.com. They should be xx1.com and xx2.net.

I changed the apache config file, basically just added the same lines with different aliases. Added in sites-available for the 3 websites. did a2ensite and reloaded apache2.

Now, I changed the addresses in the WP MU install (mySites /networkadmin/Sites) to the correct url. But nothing is loading at that domain…

I don’t know what step I missed, and can’t find a guide on remapping domains on WP Multisite. Could anyone point me in the right direction?

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

I guess I need Nginx to do this, and cannot simply change some apache2 files… Didn’t know that!

no, Apache will work fine. I have set it up several times for Wordpress Multisites.

But go ahead and try Nginx and see if you can get further along. There are a couple of other things I can suggest if you are still having problems.

btw: are you using a plugin to map domains in Wordpress Multisites? If not, you need to add each domain to the database under wp_sites table.

You may want to change your WP DB password and username as you made it public here.

cool, nothing broke! :) thanks a lot mr Sierracircle! :)