Hello World | Eloise's Paradise
0%

Hello World

Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.

Quick Start

Create a new post

1
$ hexo new "My New Post"

More info: Writing

Run server

1
$ hexo server

More info: Server

Generate static files

1
$ hexo generate

More info: Generating

Deploy to remote sites

1
$ hexo deploy

More info: Deployment

Configure a domain for your HEXO repository

purchase a domain

We will take alibaba domain in this case. you can visit the alicloud console page for domain purchase and move on to configuration.

DNS Configuration

Configure your DNS record like below:
DNS Configuration

Local CNAME update

in the source folder of your local hexo repository, change the CNAME content to your new domain as below:
DNS Configuration

Site URL update

set your site url to the new domain as well in the _config.yml of your local hexo repository as below:
DNS Configuration

Github repository domain customization

specify the domain for your hexo blog repository as below
DNS Configuration

Till now you are good to go and check your domain name is working or not.
DNS Configuration

References:

  1. Manage a custom domain in github
  2. Hexo Domain Binding
-------------本文结束感谢您的阅读-------------