Build a ghost Blog in Azure and bind custom domain names and HTTPS

Source: Internet
Author: User
Tags app service

    1. Introduction
      I've been using Cnblog to write blogs, and now I'm migrating blogs to ghost blogs on Microsoft Azure, and Ghost blogs use markdown to write blogs, and the pages are simple and I like the style. See the official website: https://ghost.org/, introducing the creation process.
    2. Build a ghost Blog on Azure
      I have to say that it's really too simple to build ghost blogs on azure, completely stupid.
    • Search to Ghost Blog project
    • Fill in the app name AppName, in general, will create the Ghost blog Default domain name is [appname].azurewebsites.net; Select your own subscription; Resource groups can be new or use existing ones, no big impact, resource group is the resource classification, Good management of resources such as WebApp created on Azure, app service plan can be new to use existing, rest default; create

      Then there will be a deployment time and wait.
    • The specific use of the blog to explore their own, very simple. The default management background is [Appname].azurewebsites.net/ghost. After entering the background, the Admin directory on the left: New post to create a blog, content additions and deletions to all blogs; there are general settings for blog logo, blog name, etc. labs have the option to export the import blog, and so on, explore it by yourself ~
    1. Binding a custom domain name
      Note: Since I am writing a blog after the configuration is complete, the diagram shows the result diagram that has been configured.
    • Purchase a domain name. I bought this Wintercolor.tech domain name on https://get.tech/because it is free to use student status.
    • Configure DNS. A. Enter the domain name management background, locate the DNS Management, select Manage DNS

      B. In the open window, first select A records, add 3 records, Host name, respectively: (not filled), www,*


      C.destination IPv4 address all fill out the external IP of the ghost WebApp you just created, which can be found in the custom domain of the app service you created.

      D. Configuration completion should be similar, note that your A records may be more than three default records, preferably deleted:

      E. Select txt Records, click Add txt Records

      F. Add two records, Host name fill in: (Not fill in), Www;value fill in: [Appname].azurewebsites.net (that is, Azure assigned to your default domain name)

      G. Configuration completion should be similar (follow the steps above, you should only have two records):
    1. customizing fields in Azure
    • Once you have prepared the above, you can customize the domain name. In the Azure Control Panel, select Custom domain, add host name
    • In the Hostname text box, fill in the domain name you purchased, click "Verify", then Azure verifies the validity of the domain name. Once the verification is complete, click "Add host Name" to complete.


      You can then use the domain name you purchased to access the blog you created.
    1. Add HTTPS to your blog
      With regard to HTTPS, it provides a high level of security for the website to prevent hijacking. See also: Http://baike.baidu.com/link?url=2XKEA34oI4sMBPquyiMBeimLDgvmnRx8Wp_1WnBUJSLDcj8vAJM0QrdsOiYlLYw5TuvAfAV4UuFkJ0AX9uR3xK
    • Gets the. PFX certificate. You can get a. pfx certificate in a variety of ways, and you can actually purchase an HTTPS certificate in Azure. Free Certificate recommendation: https://www.sslforfree.com/The disadvantage is that the certificate is valid for 3 months and expires free of charge.
    • Upload the certificate.

      You can add HTTPS to your blog

Build a ghost Blog in Azure and bind custom domain names and HTTPS

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.