how-to-start-a-blog-with-digitalocean-featured-compressed

How to Start a Blog with DigitalOcean

In this article, I will show you a step-by-step guide on how to start a blog with DigitalOcean.

DigitalOcean is currently one of the most popular cloud hosting provider.

It allows its users to easily deploy, manage and scale cloud application easily with just a few clicks.

What makes DigitalOcean really standout is their affordable monthly pricing. Currently their lowest price is $5/month for 1vCPU, 1GB memory, 25GB SSD storage and 1TB bandwidth.

DigitalOcean regularly gives out coupon codes so try to find one before signing up to them.

This virtual machine specification is more than enough for a starter blog website.

As for speed, DigitalOcean is able to maintain a good response time with my website.

Being a cloud hosting, you will also be able to choose which data center you want to put your blog website on.

The ideal thing to do is to place your blog website in a data center close to your target audience.

Here is the step-by-step guide on how to start a blog with DigitalOcean.

1. Signup to DigitalOcean

The very first step is to signup to DigitalOcean website.

If you want to save some money. Search for a DigitalOcean coupon as they regularly give out coupons. This will allow to get your first 1 to 2 months for free.

2. Creating Your Project

Once you got your DigitalOcean account.

Login on it and on the left sidebar click New Project.

On the next page you will need to set the Enter Name, Add a Description and Tell Us What It’s For fields.

In my case I set them to My Blog, My WordPress Blog and Website or Blog.

After you set the above fields, click the Create Project button.

In the next page it will ask you if you want to move your current resources to your new project.

Just click the Skip For Now button.

3. Setting Up Your Droplet

On the next page you will see your newly created project.

You can now click the Get Started with a Droplet button.

It will then redirect you to a page where you can choose which image you want to install in your droplet.

Click on the One-Click Apps tab.

Now you will be shown a list of apps you can install in your droplet.

In this case we will choose WordPress so click on the WordPress button to highlight it.

Next is you need to scroll down to the Choose a Size section where you can choose which droplet specifications you want to choose.

In our case we will choose the 1GB memory, 1 vCPU, 25GB SSD Disk and 1TB transfer specification. Which cost $5/month.

Click on it to highlight it.

You will need to scroll down again and this time you will be on the Add Backups section.

In my case I chose No as this cost money and I use plugins to do this automatically for me.

Next is you need to scroll down again, this time to the Choose a Data Center Region.

In my case I chose San Francisco 2.

You will need to scroll down again to get to the next section which is Select Additional Options.

In my case I left it as it is.

Finally, you will need to scroll to get to the last part.

I didn’t need to change anything in this part as well so you will just need to click the Create button on this one.

It will then redirect you to a page with a loading bar. This means that your droplet is currently being created.

Once it is finished creating your droplet it will look something like this:

Take note of your server IP address as this will be important for the next steps.

In my case, my server IP address is 104.248.216.44

4. Adding Your Domain

The next step is to connect your domain to your server IP address so you can access your blog website through your domain.

To do this click on the … icon on the right end of the droplet box.

Click the very first option which is Add a Domain.

It will redirect you to page where you can add you domain.

On the Enter Domain field, type in your domain.

Choose your Project Name on the next dropdown box. In my case my project name is My Blog.

After you input your domain name and project name. You can now click the Add Domain button.

The next step is we need to create an A Record which will connect our server IP address to our domain.

Make sure that you choose the A Record tab.

On the Hostname field just type @ and the system will automatically understand that it means your domain name.

In the Will Direct To field type in your server IP address.

After you setup all the fields above, you can now click the Create Record button.

The next step is we need to create a CNAME Record so we can use the www version of our domain.

Click on the CNAME tab.

On the Hostname field, type in www.

On the Is An Alias Of field, type in your domain name without the www.

In my case it is just howtostartablog.com

After you setup all the required fields, you can now click the Create Record button.

5. Updating Your Domain Registrar DNS

If you have done everything correctly, you DNS Records should now look like something like this.

Now we can go to our domain registrar and update our DNS addresses.

The DNS addresses we need to input into out domain registrar are the NS Records getting arrow pointed above.

In my case these are:

  1. ns1.digitalocean.com.
  2. ns2.digitalocean.com.
  3. ns3.digitalocean.com.

All I needed to do is login to my domain registrar and manage my domain name.

In my case I use NameCheap but the process should be almost the same in your domain registrar.

In NameCheap, I just need to choose Custom DNS for my domain and click the check icon after I changed them to DigitalOcean DNS addresses.

That is it, after this I just needed to wait a few hours for the DNS to fully propagate.

When it fully propagated, I am then able to access my blog website through the domain.

6. Changing the Root Password

When you first try to access the front-end of your website after you installed the WordPress droplet.

It will show you something like the image below:

This means that you first need to open SSH and change your root password.

Do not worry, this process is pretty easy.

The first thing you need to do is open your email that you use when you signup to DigitalOcean.

This is because they sent you an email containing your SSH username which is normally root and SSH password.

Once you have taken note of your SSH password, you can now open the console of your droplet.

To do this go back to your project page.

Click the … icon again and click the Access Console option.

It will show a popup box with the SSH access.

It will ask for you to login.

Type in root then press Enter.

It will then ask you for the password.

Type in the password you got in your email.

If you entered it correctly, it will show you something like this:

It is now asking you to type in a new password of your choosing.

You will need to type it twice.

If you are did it correctly, it should show you something like this:

This means that you have successfully changed your root password.

Just wait a minute for the droplet to setup your WordPress installation.

After a minute you can access the front-end of your website again and you should now see something like this:

Select your preferred language and click Continue.

On the next page you will need to set your:

  1. Site Title
  2. Username
  3. Password
  4. Email

After you setup all the fields above, you can now click the Install WordPress button.

That is it, the installation should finish immediately and you will see something like this:

You can now login to your WordPress dashboard using the Username and Password you setup in the previous page.

Conclusion

DigitalOcean is indeed one of the best cloud hosting currently out there in the market. So you cannot go wrong in choosing them as your cloud hosting.

This cloud hosting is also able to prove that they can maintain their fast response time. I have not once seen my response time drop in the Google PageSpeed Insight.

After you setup your WordPress blog website in DigitalOcean. You might want to consider installing my recommended essential plugins.

That is your step-by-step guide on how to start a blog with DigitalOcean.

how-to-start-a-blog-with-google-cloud-platform-featured-compressed

How to Start a Blog with Google Cloud Platform

In this article, I will show you how to start a blog with the Google Cloud Platform.

If you are a pretty serious starter blogger that wants to provide the best user experience to your visitors immediately. Then you might want to consider hosting your blog website at the Google Cloud Platform.

Google Cloud Platform is known for its lightning fast cloud virtual servers. So this means hosting your blog website on it will give your visitors ultra fast loading speeds.

Being a Cloud hosting, this also means that you will be able to choose a specific data center where you want to put your blog website.

The best practice on this is to put your blog website on a data center close to your target audience.

Here is your step-by-step guide on how to start a blog with Google Cloud Platform.

1. Signup to Gmail Account

If you already have a Gmail Account then you can skip this step.

But if you don’t, go ahead and signup for a Gmail Account as with this. You can automatically sign-in to the Google Cloud Platform.

2. Go to Google Cloud Platform Marketplace

Once you have a Gmail Account, you can now to go the Google Cloud Platform Marketplace.

You will be given a $300 signup bonus which you can use for 12 months.

That is why you will be able to create your virtual machines immediately without a need to cash in right away.

On the Marketplace page, click on the Explore Marketplace button.

You will be redirected to the next page which has a Search box.

On the Search box, type WordPress.

After you typed WordPress, you will be redirected to a page with search results for WordPress.

Click on the box result similar to the one shown on the image below.

Make sure that it says Google Click to Deploy below the WordPress title.

And also make sure that the Type is Virtual Machines.

After you click on it, you will be redirected to this page:

Click on the Launch On Compute Engine button.

After you click on it, it will show you a popup asking which Project you want to put your virtual machine under.

In my case, I created a new project named project-gtg-ctd-cloud and chose it.

3. Configuring Your Virtual Machine

On the next page you will be able to configure your virtual machine.

The options I chose are:

  1. Deployment Name – wordpress-1
  2. Zone – us-west1-b
  3. Machine Type – 1 vCPU / 3.75GB Memory
  4. Administrative Email Address – Your Email
  5. Install phpMyAdmin – Checked
  6. Boot Disk Type – SSD Persistent Disk
  7. Boot Disk Size in GB – 25GB
  8. Network Name – Default
  9. Sub-Network Name – Default
  10. Allow HTTP Traffic – Checked
  11. Allow HTTPS Traffic – Checked
  12. More Options – Default

After you setup everything above you can now click the Deploy button.

The virtual machine will now start deploying and will take a minute to fully deploy.

When your virtual machine is fully deployed you will see something like in the image below.

The important details are on the right side.

It contains your Site IP Address, when you click on it you will see the front-end of your website with the default theme.

Under it is the WordPress Admin URL, when you click on it you will be redirected to the WordPress Login Page.

You can login on it using the WordPress Admin User and WordPress Admin Password given also on the right side details.

It is recommended that you change you WordPress Admin Password immediately.

4. Pointing Your Domain To Google Cloud Platform WordPress Website

As you noticed your website currently only has an IP address.

The next step is to point your domain to your WordPress website in Google Cloud Platform.

This way you can access your Google Cloud Platform WordPress website through your domain.

5. Enabling Google Cloud DNS API

The very first step you need to do in order to point your domain in the Google Cloud Platform is to enable the Google Cloud DNS API.

You can do this by going to the APIs and Services:

This is on the left sidebar that shows when you click the menu button on the left side of Google Cloud Platform logo.

On the next page you will see something like in the image below.

Click on the Enable APIs and Services button.

You will be redirected on a page with a Search box.

On the Search box, type DNS.

You will be redirected on a page with the search result for DNS.

Currently it is only one item so you cannot go wrong here. Just make sure it says Google Cloud DNS API.

Click on the Google Cloud DNS API.

On the next page, you will have a page with a button to Enable the Google Cloud DNS API.

Click on the Enable button.

After you have enabled the Google Cloud DNS API. You can now start creating records.

6. Creating Record Names

Open the left sidebar menu again.

Then navigate to Networking > Network Services > Cloud DNS.

You will be redirected to a page where you can now create a zone.

Click the Create Zone button.

On the next page you will need to add a Zone Name and DNS Name.

The ideal Zone Name is your domain without the extension.

And the ideal DNS Name is you full domain name with extension.

See how I did it in the above image.

After you setup the Zone Name and DNS Name. Click the Create button.

The next step is to connect the site IP address to the domain name.

To do this Click the Add Record Set button.

On the next page you will see something like this:

Make sure that the Resource Record Type is set to A record.

On the IPv4 Address type your Google Cloud Platform WordPress Site IP Address.

This is the Site IP Address shown on the right side after your WordPress virtual machine finished deploying.

This is also the IP address that you currently use to access the front-end of your website.

After you setup the Resource Record Type and IPv4 Address click the Create button.

This next step is optional.

Do this if you want to use the www version of your domain.

To do this, click the Add Record Set button again.

On the Create Record Set page, add www in the DNS Name field.

Change the Resource Record Type to CNAME.

In the Canonical Name field type your domain name without www.

See how I did it in the image above.

After you setup the DNS Name, Resource Record Type and Canonical Name. Click the Create button.

7. Changing the DNS In Your Domain Registrar

The next step is now to login in to your domain registrar and change the DNS to the Google Cloud Platform DNS addresses.

The DNS addresses are the ones shown below.

In my case the DNS addresses are:

  1. ns-cloud-d1.googledomains.com.
  2. ns-cloud-d2.googledomains.com.
  3. ns-cloud-d3.googledomains.com.
  4. ns-cloud-d4.googledomains.com.

These are the DNS addresses I need to add to my domain registrar.

The domain registrar I used is NameCheap so it appears something like this to me.

All I needed to do is choose the Custom DNS option and add the DNS addresses from the Google Cloud Platform.

After that I click the check icon and that is it for the domain registrar.

All I had to do is wait a few hours for the DNS to fully propagate.

8. Update WordPress Site Addresses

The last step is to login to your WordPress admin page and go to Settings > General.

Then change the WordPress Address and Site Address to your domain name.

It was previously set to the Google Cloud Platform Site IP Address.

Conclusion

If you are interested in providing the best user experience for your visitors. Then hosting your blog with the Google Cloud Platform is a very good idea.

The website loads silky smooth with the Google Cloud Platform and without a doubt will provide a nice user experience.

The setup I made though will cost more than $20/month but currently Google Cloud Platform offers a $300 signup bonus which you can use for 12 months.

This means that you can literally host your website for free for 12 months.

After you setup your WordPress website and domain. You might want to consider using my recommended essentials plugins.