Welcome to the Treehouse Community

Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.

Start your free trial

WordPress Local WordPress Development Local WordPress Development Installing WordPress Locally

How to setup up multiple Wordpress sites on the same server


Zac mentioned it is harder to set up multiple installs is if you install directly to site directory. I am looking to set up a shared hosting account with multiple domains owned by me to host completely different websites. Where can I learn more about getting this setup?

2 Answers

Simon Duchaine
Simon Duchaine
14,441 Points

Hi James,

I've done this a lot before with pretty simple WordPress website that didn't need a lot of performance or uptime guaranty (because on a shared host with multiple websites on the same environment uses your overall bandwidth across your multiple websites - and it affects performance sometimes).

But, what you need to do is simply add a new "hosted domain" to your hosting account and affect that domain to a subfolder in your hosting. Doing so, you can host multiple websites on the same account.

Here's the Godaddy documentation about that: https://ca.godaddy.com/help/hosting-multiple-websites-on-your-hosting-account-5399. (It's similar for every hosting provider)

Do I need to change the settings of the below content from wp-config?

  • WordPress Database Table prefix. *
    • You can have multiple installations in one database if you give each
    • a unique prefix. Only numbers, letters, and underscores please! */ $table_prefix =