Welcome to the Treehouse Community
The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.
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?
Simon Duchaine14,441 Points
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 =