How-to: Set up a WordPress blog on your VPS

Setup WordPress on your VPS Cover - PassiveIncomeIdeas.Online

Have you just jumped on the VPS hosting bandwagon? Or are you doing your research before taking the plunge? I used to host all my websites on a HostGator shared hosting account (Baby Croc package). But as traffic and the resource usage alerts grew, I needed something more powerful and scalable. I love researching in detail. So after a lot of reading and searching, I chose a ‘fully managed’ SSD-VPS package from KnownHost (SSD-1). I am so glad I did.

What is a VPS?

A Virtual Private Server (VPS) is a web server that runs on a virtual slice of a hosting provider’s server. So you are able to buy a guaranteed section of a powerful server’s resources at an affordable price. VPS hosting generally comes in three flavours – unmanaged, semi-managed, and fully managed.

  • For developers and experts, unmanaged is the best value.
  • Semi-managed is more expensive but still needs some server management experience.
  • Fully managed is where the hosting company manages the server for you. This is naturally the most expensive of the three, but also the best option for those who have outgrown the CPU and RAM limitations of shared hosting and need reliable VPS hosting.

The fully managed option is usually available only if you install a control panel such as WHM/cPanel. But if you are going for the fully managed option, you wouldn’t want to use the Command Line Interface (CLI) anyway!

My choice – KnownHost SSD VPS hosting

I chose KnownHost because all their VPS packages are fully managed and they have an excellent reputation. With shared hosting, I had one cPanel user account and all my websites had to be add-on domains in that one cPanel account. Thsi was perfectly fine before my websites grew to the size they are now. With KnownHost VPS, not only can I manage the server through WHM, but I can create as many cPanel accounts as I want. This is where the ‘fully managed’ part comes in – after the initial setup of the server I can either start doing whatever I want or raise a support ticket to get it done for me. Let me tell you – if you are a beginner to VPS hosting and don’t have the time to learn server management (like me!), you must go for a fully managed VPS server with a WHM/cPanel license. I recommend KnownHost – their service levels are just insane!

Moving from shared hosting to a VPS may seem quite daunting, but it is very straightforward. So I want to show you step-by-step how to use that shiny new VPS to hosting your own WordPress blog.

How would you like to install WordPress?

If you have no websites on your VPS yet, you can install WordPress in your root cPanel account (go to STEP 3 directly). But if you already have a website running and you want to add a new blog, you have 2 ways of doing this:

  1. Install your WordPress blog as an add-on domain in your main cPanel user account (Out of scope of this article).
  2. Create a new cPanel account and install WordPress to that user account – Recommended.

Setup WordPress Blog on a VPS - PassiveIncomeIdeas.Online

So, after doing some research and discussing with the excellent people at KnownHost technical support, I concluded that the second approach of having one cPanel account per website is ideal for a VPS. This is because each website is isolated from each other – great for security and stability purposes. You can also assign usage limits to each cPanel account.

So here are the detailed steps for creating a new cPanel account on your VPS and installing a WordPress blog.

[toc]

    1. STEP 1 – Create a cPanel account

      1. Log in to WHM securely with your root account and password
        Creating the cPanel account - PassiveIncomeIdeas.Online
      2. Type ‘create’ into the search box on the top left, then click on “Create a new account”
        Creating the cPanel account 002 - PassiveIncomeIdeas.Online
      3. Under Domain information:
        Creating the cPanel account 003 - PassiveIncomeIdeas.online

        • Enter the domain you have purchased here, for example, wpblog.com
        • The username will be automatically filled in by WHM, in this case wpblog. It is important to keep this to less than 8 characters if possible – the WordPress database prefix will be the first 8 characters of your cPanel username by default
        • Choose a strong password.
        • Enter an email address now, say wpadmin@wpblog.com, we will create it in the next step.
      4. Under Package:
        Creating the cPanel account 004 - PassiveIncomeIdeas.online

        • You can always choose a package later. For ease of use and administration, if you plan to have more than one website or blog, it may be worth creating a package. A package is a set of rules about how much bandwidth and storage space each cPanel account, and thus the websites in it, can use.
        • If you would rather not create a package, you can still define the usage limit rules manually at this stage by choosing the “Select options manually” option. A new section will now appear where you can enter these rules for this cPanel account and all websites that will live in it. You can then also choose “Save Manual Settings as a Package” to create a package with these rules.Creating the cPanel account 005 - PassiveIncomeIdeas.online
      5. Under Settings:
        Creating the cPanel account 006 - PassiveIncomeIdeas.online

        • Keep the settings at their defaults as seen below.
        • Dedicated IP is needed only if you need SSL security on your new blog – this is usually not needed.
      6. Make sure the Reseller section options are not checked.Creating the cPanel account 007 - PassiveIncomeIdeas.online
      7. Leave the DNS settings at their default. Make a note of the nameservers – you will need these later to tell your domain registrar where your website is hosted (unless your VPS host is your domain registrar, in which case you do not need to do this).Creating the cPanel account 008 - PassiveIncomeIdeas.online
      8. Leave the Mail Server settings at their default.Creating the cPanel account 009 - PassiveIncomeIdeas.online
      9. Click on Create – you should see a confirmation that the new cPanel account has been created.
    2. STEP 2 – cPanel – Create the email address you provided

        1. Go to the Secure cPanel login of your VPS
        2. Login using the new details you created above

      Log into new cPanel 001 - PassiveIncomeIdeas.online

      1. Click on Email Accounts
        Creating the admin email account 001 - PassiveIncomeIdeas.online

        • Choose a strong password that is differen from your cPanel password.
        • I recommend using a mailbox quota, 250 or 500 MB is fine.
          Creating the admin email account 002 - PassiveIncomeIdeas.online
        • Click Create Account
    3. STEP 3 – cPanel – Install WordPress using your VPS’s one-click installer (KnownHost provides Softaculous).

      1. Scroll to the Softaculous section, and click on WordPress if it is shown.Installing WordPress 001 - PassiveIncomeIdeas.online
      2. If not, click on Softaculous and then use the search function on the left to find WordPress.Installing WordPress 002 - PassiveIncomeIdeas.online
      3. Click on the Install button.Installing WordPress 003 - PassiveIncomeIdeas.online
      4. Software Setup section – make sure the directory field is empty.Installing WordPress 004 - PassiveIncomeIdeas.online
      5. Site settings section – you can change these settings later in the WordPress dashboard.Installing WordPress 005 - PassiveIncomeIdeas.online
      6. Admin Account – make sure you choose an admin username and password that is different from those of your cPanel and admin email accounts. This is a good way of improving your website’s security. You can use the admin email address created earlier.Installing WordPress 006 - PassiveIncomeIdeas.online
      7. Choose language and plugins sections – I recommend not installing any plugins at this stage.
      8. Advanced Options – I recommend using a database prefix similar to your blog name. Leave everything else as seen below.Installing WordPress 007 - PassiveIncomeIdeas.online
      9. Select Theme – You can selet a theme here, but I do not recommend installing a theme at this stage.Installing WordPress 008 - PassiveIncomeIdeas.online
      10. Click Install.
      11. You should now see a message stating that your WordPress install has been successful.
      12. Proceed to your WordPress admin and login using the username and password you created above.
    4. Next steps

If the WordPress site is your only website on the VPS, and your domain was not registered through your hosting provider, you will need to update the domain nameserver details at your domain registrar to point towards your VPS. Check with your domain registrar to see how this can be done. Your hosting provider may also have published guides for the common registrars or be able to guide you.

If you purchased your domain through your hosting provider, your domain will already be configured to find your VPS.

Digiprove sealCopyright protected by Digiprove © 2016-2017
2 Comments
  1. Reply
    Passive Income Wise @Francisco June 11, 2016 at 3:23 pm

    Hi!

    Nice post, I also changed to VPS two months ago and it’s the best thing I could do. Since then, my Niche Site 1 runs smooth and without any shutdown, before I was using shared host and the 300k pageviews a month were so much load.

    I’m glad you explained this in detail because it took some time for me to figure out, however no it’s already done! This post will help plenty of people!

    Here I leave you a link to my blog, I also post my income reports since the beginning and I see we are at similar level currently http://passiveincomewise.com/

    See you around!

    Cheers

    • Reply
      PiiGirl July 5, 2016 at 9:38 am

      Hi Francisco,

      Thanks for visiting. I agree – VPS is the way to go for reliability and full control over my online properties. I love Knownhost because its a fully managed VPS solution for not much money.

      300k views/month? Wow I can only dream of that level of traffic. I have just broken through 10,000 per month on Niche Site 1. I have looked through your blog and will comment there also 🙂

      PiiGirl

    Leave a reply

    All original content on these pages is fingerprinted and certified by Digiprove