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

Micole Noddle
Micole Noddle
5,797 Points

Should I set up a subdomain if I already have a non-WordPress site up?

I have a domain name and site up already, which I built using HTML and CSS. I want to start learning WordPress, which I know I can do with my current host (SiteGround). Should I set up WordPress in a subdomain? Does that make a difference if I decide I want to go back to my old non-WordPress page? I'm so confused about the subdomain part and how to make that live, etc... Any help is greatly appreciated! Thanks!

1 Answer

Raymon Oleaga
Raymon Oleaga
19,298 Points

Hi,

My suggestion is to get into the habit of working on your local machine first and then uploading to your staging site when you feel ready. specially for learning purposes.

But if you want to have the test site live the short answer is YES a sub domain is fine and YES your current site will be untouched. All you have to do is create your subdomain then install WP. Most hosting companies have a quick WP installation that will take care of all the backend stuff for you.

If you want to install WP yourself without the quick install then is a little more work but here is the "quick version" so you have an idea: Download WordPress from wordpress.org unzip file upload files via FTP to the subdomain you created (make sure you upload the files inside the WP folder and not the folder) create a database and a user with privileges to that database (write down the user name, database and password you will need this) then when you visit your site (sub domain) wordpress will prompt you to install it will ask you for the database name you just created, user name and password.

And thats it...