Install WordPress on a subdomain of an existing WP site – WordPress Subdomain | WP Learning Lab

#wordpress erste schritte –>

YouTube

Mit dem Laden des Videos akzeptieren Sie die Datenschutzerklärung von YouTube.
Mehr erfahren

Video laden


Grab Your Free 17-Point WordPress Pre-Launch PDF Checklist: http://vid.io/xqRL
Install WordPress on a subdomain of an existing WP site – WordPress Subdomain | WP Learning Lab

Download your exclusive 10-Point WP Security Checklist: http://bit.ly/10point-wordpress-hardening-checklist

A WordPress subdomain install is done in a very similar way to installing WordPress in a domain root. We just install to a different folder.

First thing is to create the subdomain. Inside your cPanel account you should have a link called Subdomain. Click on it.

Then fill in the simple form on the next page. Enter the word or phrase for the subdomain, pick the domain that it will be sub to and then enter the path for the subdomain’s document root.

Then click on Create. Your subdomain has been created. It’s that easy.

In the create process a new folder was created inside the root folder of the main website. That is where we’ll upload fresh WordPress files in a few minutes.

But first, we’re going to create the database.

To do this, go back to your cPanel and open the MySQL databases page. Enter a name for a new database and create it. Make note of the database name because we’ll need in a minute.

Next, and on that same page, create a new user and give them a unique password or use the password generator.

Make note of the username and the password.

Now scroll to the bottom of the MySQL database page and link to the user to the database and give them all privileges.

The database is now created and ready.

Now we’ll upload new WordPress files.

Go to WordPress.org and download the latest WordPress installation package to your computer.

Next, log into the File Manager in hosting account and open the root of your website. Inside that root folder should be a folder with the same name as you chose for you subdomain. Open that folder.

It should be empty.

Now, click on the Upload link in the menu system. It will open a new window or a new tab. Click the button to open the file browser and choose the WordPress files you just downloaded.

It should complete very quickly. Once complete, you can close the upload window/tab.

Now hit Reload in the File Manager. A zip file should appear. Click it to highlight it and then click on Extract in the top menu.

Click on Ok on the dialog box that pops up to begin extraction.

Click on Reload again so you can see all the files.

Click on the wp-config.php file and then click on Code Editor to open that file in the editor.

Find the section where the database credentials go and copy the info from your database in there. Click on Save Changes when you’re done.

Now, open your subdomain in a new browser tab or window. You should be presented with the familiar WordPress installation screen.

Install WordPress as normal.

Once installed you can log in and now you have a WordPress site in a subdomain. Pretty sweet!

I hope this information helps you! If you have any questions leave a comment below or ping me @WPLearningLab on Twitter.

————–

If you want more excellent WordPress information check out our website where we post WordPress tutorials daily.

Klicken Sie auf den unteren Button, um den Inhalt von wplearninglab.com zu laden.

Inhalt laden

Connect with us:

WP Learning Lab Channel: http://www.youtube.com/subscription_center?add_user=wplearninglab

Facebook: https://www.facebook.com/wplearninglab

Twitter: https://twitter.com/WPLearningLab

Google Plus: http://google.com/+Wplearninglab

Pinterest: http://www.pinterest.com/wplearninglab/

WordPress Tutorials – WPLearningLab

Share

Comments

  1. Bro if i use sub-domain for my other working activity, Is it gonna good for my main domain and sub-domain???? please tell something about it.

  2. hey dude that's a nice tutorial. it helped me a lot. be blessed

  3. Awesome video Bud. I subbed

  4. Great, Great help, step by step through a process that would have taken me a day in twenty minutes!!!

  5. Nice video Thank you .. but why my ssl does not work in the subdomain?

  6. Thank you for this, very helpful.

  7. Great step by step instrucitons. Thank you!

  8. I am getting, 'You don't have permission to access / on this server.
    Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request.' Am I doing something wrong?

  9. Very Helpful.Great (y)

  10. thanks for this video..awesome

  11. Nice Tutorial……but i want to change on existing projects theme how upload..

  12. why not load wordpress from cpanel

  13. This is the best video tutorial I have seen so far

  14. very clean tutorial

  15. Whats the difference in using Godaddy to load WP vs the way you installed WP

  16. Hi there, Ive created a wordpress site within a sub domain and now I want to go live using a main url. Do you have a video that reflects this?

  17. Yes! So clear and easy, thank you.

  18. It is very easy by following this video. it works very well. Thanks

  19. Hey Man, tut was great, followed it to a T and watched it 3x now lol, but when i try and go to the actual sub page it says **This site can't be reached- server IP cannot be found**,,,any ideas?
    p.s. my web host service allows unlimited sub domains..

  20. Thank you so much for a brilliant video. Ive set up my first WordPress on subdomain.

  21. Thanks a lot !

  22. Amazing! Done, and can't thank you enough!

  23. :*

  24. Perfect tutorial. Was quick..easy to follow. Thank you! Everything worked as you explained it. 🙂

  25. Hey, nice video.. Quick question, I already have a free wordpress account with a .wordpress domain and I wanted to know if I can install my existing wordpress on Hostinger with a custom domain? Thanks in advance

  26. Thank you Bjorn, you are the legend 🙂

  27. Quick question. So would this be the best way to work on a new "updated" version of your website while you keep your other website running? If so, how would I go about applying the new "updated" site that was created on my sub domain to my main domain? Great video and cheers!

  28. Great tutorials Bjorn! They are really helping me get to grips with WP and various plug-ins.

    I'm stumped now though … my site is hosted on WordPress.com and apparently they don't 'do' cPanel, so I fell at the first fence!

    I've looked but can't find any info on setting up a subdomain on a WP.com hosted site. Grateful if you have any suggestions!

Comments are closed.