Igor Kromin |   Consultant. Coder. Blogger. Tinkerer. Gamer.

This series of articles will cover how you can set up a secure (SSL, HTTPS) web site for free by using Google's always free Cloud Tier in combination with free SSL hosting from Cloudflare. The only requirement is that you have a Google account and your own domain name.

The article is split into three parts:
  • Creating a Google Cloud project and deploying your site (part1)
  • Setting up a custom domain for your site (what you're reading now)
  • Enabling SSL via Cloudflare (part 3)


If you haven't read part 1 of this article, please check it out here. Now lets continue with setting up your free site!

There is already an article by Google about setting up custom domains which goes into more detail not required for a simple static web site, however, if you prefer to follow that, you can find it here.

Custom domains are set up via the AppEngine Custom domain Settings page. If that link does not work you can find that page by expanding the side menu bar in the Cloud Console and scrolling down to AppEngine, then to Settings and finally to Custom domains.

Click 'Add a custom domain' to continue.
glcoudfreesite_6.png


You're probably not going to have any verified domains at this point, so verify your domain name (or select an already verified one from the list). Enter your domain name to verify it.
glcoudfreesite_7.png


There are multiple ways of verifying and all the options are given to you so I won't cover that here. The one I would recommend however is the DNS option where you add a TXT record. This is done from your domain name registra (where you registered your domain). In the DNS settings add the TXT record that Google provides you with and verify. Keep the DNS settings open, they'll be needed later.
glcoudfreesite_8.png




Once you verified your domain, select it from the list and click Continue.
glcoudfreesite_9.png


The next step can be skipped most likely, unless you want to have special subdomains for your site, however that is outside the scope of this article. Click Save mappings.
glcoudfreesite_10.png


The above mappings will be confirmed, again skip this. Click Continue.
glcoudfreesite_11.png



The next step is where the main action is. Google will display a number of records that need to be updated in your DNS settings (remember those from earlier on?) For example:
glcoudfreesite_12.png


For each of the lines that Google provides, create a new DNS record with those details. It can take up to 24 hours for these settings to become available so your web site may not be visible on your domain name immediately.

Once your web site becomes visible on your own domain name, you can continue with setting up SSL on it. That is covered in the next part of this article.

Continue reading to set up SSL/HTTPS on your web site in part 3 of this article.

-i

Skip down to comments...
Hope you found this post useful...

...so please read on! I love writing articles that provide beneficial information, tips and examples to my readers. All information on my blog is provided free of charge and I encourage you to share it as you wish. There is a small favour I ask in return however - engage in comments below, provide feedback, and if you see mistakes let me know.

If you want to show additional support and help me pay for web hosting and domain name registration, donations, no matter how small, are always welcome!

Use of any information contained in this blog post/article is subject to this disclaimer.
 
comments powered by Disqus
Other posts you may like...