In my post, I show you the cheapest way to start a website, step by step. You can have a website go live today for less than $10. The only upfront cost is a name for your website, a domain name. You can buy a .com domain name on Cloudflare for about $9.
To start a website, you need three things, a domain name, hosting, and a website builder.
The cheapest way to start a website is to buy a domain name from Cloudflare for $9. Sign up for Google Cloud hosting, free for the first 90-days. Finally, install WordPress to build your website. WordPress is free.
Let us start a WordPress website, step by step.
Step One – Buy A Domain Name
I buy my domain names from Namecheap and Cloudflare. A domain name is the name of your website.
For example, my domain name is ‘Newblogr.com’. This domain costs me about $10 a year.
Namecheap.com (Paid link) offers .com domain names for about $10 per year.

Cloudflare is a little cheaper at about $9 per year.


I recommend buying a .com domain name. A .com domain is the most common.
Check out my ‘How To Buy A Domain Name‘ post to learn how to purchase a domain name for your website.
Step Two – Open A Google Cloud Account
New customers to Google Cloud get a $300 credit for opening an account. This credit is available for 90-days. You can use it to pay for hosting your website.
Go to cloud.google.com to start. Click on the ‘Get started for free’ link.

To use Google Cloud, you must have a payment method set up. You can add a credit card or use Paypal.

Step Three – Create A Project
Go to your Google Cloud console.

Here is my Google Cloud console.

Next, create a project.

Give your project a name and select ‘Create’.

After a short wait, you return to the console. Click on the menu to view your projects.

Select your project.

Step Four – Launch WordPress
Once you have your Google Cloud account, you can deploy WordPress. WordPress is free software used to create websites.
Google Cloud offers a free-tier option to host your website. You must configure the WordPress deployment as per Google’s free-tier criteria.
On the console, select the hamburger menu. Click on ‘Marketplace’. I have marketplace pinned on my menu. You will need to scroll down.

‘Marketplace’ is where you deploy WordPress. There are several versions of WordPress. I recommend Openlitespeed.
Type ‘Openlitespeed WordPress’ into search and hit enter.

Click on Openlitespeed-WordPress.

On this page, you get an overview and additional details. At the bottom, there is a cost breakdown of using this service. These costs don’t apply to the free-tier configuration.
To start, click on ‘Launch’.

Once deployed, it is time to configure.

Step Five – Configure And Deploy WordPress
This step is essential. Read the usage limits on Google, so you don’t have to pay.
I recommend you check the usage limits before you start this step. Google could update the page at any time.
The free tier-usage limits are at cloud.google.com. Scroll down the page to ‘Compute Engine’.

As I write this post, free tier usage allows you one e2-micro VM instance in Oregon, Iowa, or South Carolina. You can also get a 30 GB-months standard persistent disk.

Once you have checked the latest information, it is time to configure your WordPress deployment.
First, give your deployment a name. You can only use small letters, no capitals.

Next, select the zone. You must choose one of the zones from the Google document.

I selected ‘us-central1-a’.

Next, select the machine type. Again, you must choose a machine from the Google document.

I selected ‘E2’ from the series menu.

Then e2-micro from the machine type menu.

I have an E2 series with an e2-micro machine type.

Let us configure the boot disk.
The Google document says you can have 30 GB on a standard persistent disk.

The default is 10 GB. You can change this to 30.

Leave all the firewall options ticked.

Finally, deploy.

After a short wait, deployment is complete.

Step Six – Reserve A Static IP Address
You do not want your IP address to change. To keep the same IP address, reserve a static IP address.
From the menu, select VPC network.

From the sub-menu, select External IP addresses.

Select ‘Reserve’.

Create a name and then click on ‘Reserve’.

After a short wait, ‘Type’ changes to static.

Step Seven – Connect Your Domain Name
Now you have an IP address. You can connect your domain name to your WordPress website.
Connect Your Domain Name On Namecheap
Go to your Namecheap account. On your dashboard, select the ‘Manage’ link.

Next, click on ‘Advanced DNS’.

You need to add two new records.

To add a new record, click on the link.

Copy your static IP address.

Select ‘A Record’. Under ‘host’, type @. Under ‘value’, paste your IP address.

The second record is an ‘A Record’. Under ‘host’, type www. Under ‘value’, paste your IP address.
Once complete, save all changes.

Connect Your Domain Name On Cloudflare
On your Cloudflare account dashboard, select your domain.

From the menu, select DNS.

You have to add to ‘A’ records.
Click on ‘Add Record’. Under ‘Type’, select ‘A’. Under ‘Name’, type ‘@’. Under ‘IPv4 address’, paste your IP address. Finally, select ‘Save’.

Click on ‘Add Record’ again. Under ‘Type’, select ‘A’. Under ‘Name’, type ‘www’. Under ‘IPv4 address’, paste your IP address. Finally, select ‘Save’.

Now your domain points to your IP address.

Monitor Update Status
Record changes take up to 48 hours to update. To monitor progress, go to whatsmydns.net.
Type your domain name in the search box, select ‘A’ from the menu, and click on ‘Search’.

Once the update is complete, your static IP address shows on the right.

You must wait for the records to update before moving on to the next step.
Step Eight – Install A Let’s Encrypt SSL Certificate
SSL certificates ensure your site is secure. Websites with valid SSL certificates get a green padlock in browser tabs.

For a free SSL certificate, return to your WordPress deployment. Select the SSH link.

SSH links you to the server. A popup window appears.

At the bottom of this window, enter your root domain. That is your domain name without the www.

Hit enter to start.
Then verify your domain.

If your domain name points to this IP address, you can install an SSL certificate.

Enter a valid email address.

Confirm your email address.

Now your SSL certificate is installed for your site. To ensure all traffic goes through HTTPS, not HTTP, confirm you want to force a rewrite rule.

Finally, it is not necessary to update the system.

Step Nine – Install WordPress
Type your domain name into a browser tab. Select your preferred language from the menu.

Next, complete the required information and then select ‘Install WordPress’.

Once installation is complete, log in using your chosen username and password.

WordPress is ready for you to build your website.

Step Ten – Create A Swap File
To ensure your website server runs efficiently. I recommend you create a swap file.
Return to your deployment page and click on SSH.

In the popup window, copy and paste the following text.
sudo fallocate -l 1G /swapfile

Then this text.
sudo chmod 600 /swapfile

Now this text.
sudo mkswap /swapfile

And this text.
sudo swapon /swapfile

Now this text.
free -m

Finally, this text.
echo '/swapfile none swap sw 0 0' | sudo tee -a /etc/fstab

To check your swap file was created successfully, type ‘htop’.

Can you see ‘Swp’ and ‘/1024M’? If you can, then you have created a swapfile. Now you can close the popup window and start working on your site.

Step Eleven – Check For Updates
When using Google Cloud, server updates are not applied automatically. I recommend you check for server updates at least once a month.
Go to your Google Cloud console, and click on the ‘Go to Compute Engine’ link.

Then click on SSH.

The first section informs you of available updates. I have 79 updates.

To start updating, paste ‘sudo apt update && sudo apt upgrade‘ at the bottom of the window.

Confirm you wish to continue with the updates.

There is a progress bar.

Once the updates are complete, you return to this.

Updates are applied. You can close the window.
Conclusion
When I started blogging, website hosting cost about $100 a year. Hosting companies only offer discounts to new customers. I constantly changed companies to avoid expensive renewal fees.
Now I use Google Cloud to host my website and pay next to nothing for hosting. There is no customer support on Google Cloud. You have to manage everything.
I have been with Google Cloud for six months now and wouldn’t go back to regular hosting. Setting up a website on Google Cloud is more complicated than standard hosting. But once set up, it is easy to manage.
Using Google Cloud is the cheapest way I have found to start a website. Do you know of another inexpensive way to create a website? Do other Cloud services offer a free tier option?
Did you find my post helpful? Let me know in the comments. I love reading comments from my readers.