Question

Apache and Wordpress configuration for multiple domains

  • Posted April 19, 2013

After reading the article about how to configure an apache virtual host for each domain you wish to host as well as the article on how Wordpress supports multiple blogs, its still not clear precisely what I need to do. However, I could not find anything that helps me put these two pieces of information together such that I understand how to set up two separate blogs using a single wordpress install that are accessed with two separate domain names. For example, I have two domains, example1.com and example2.com and want to have wordpress host a separate blog for each with a single installation of wordpress.

I apologize if this is a rather simple question for experienced users but since I’m just starting out I really want to learn how to do this in the best and most efficient way. If anyone can point me in the right direction regarding how I can accomplish this, step by step if possible, I would greatly appreciate it.

Subscribe
Share

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

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.

I’m stuck at the instructions to edit the directory definition in the /etc/apache2/sites-enabled/mydomainname.com stage - as the file using the Wordpress/Ubuntu 12.10 droplet just has two VirtualHost definitions in the file, no directory to override. <br> <br>Whatever combination I try, the database gets very lost - until I comment things back again. <br> <br>It’s the last but one comment to the article - sitting there unloved for 2 days now :-)

Did you read through this article? <br>https://www.digitalocean.com/community/articles/how-to-set-up-multiple-wordpress-sites-using-multisite <br> <br>If you did maybe you can let us know on which step you got stuck so we can help you out.