Taught you how to build a personal blog with github pages

blog

Has its own blog, every programmer's dream. --- Lu Xun

I can not remember, this is my first blog toss a few times.

Some time ago is to take the blog and take the blog, blog that after completion of the construction will no longer maintain that only a "hello, world" in there disgrace, really forest for the trees.

Cut to the heart of the

This time is not the same!

I decided to turn over, serious updates.

What I'm saying is true

In order to focus onto the blog content, I chose to use the easiest way github pagesto set up this blog.

Here begin the text.

1. First need to have a github account, click the Register .

2. Create a new warehouse

For example: memeda.github.io

ps: github pages warehouse name needs to be github.ioas the end.
New warehouse

3. Set warehouse

Click "settings", enter the warehouse settings page.

Setting warehouse

Find "GitHub Pages" at this, Sourceselect the master

master

Once selected, you will find the page during the refresh.

Wait a moment refresh is complete. Here then scroll to the page, you'll see a line prompt, similar toYour site is ready to be published at https://jzyzcz.github.io/memeda.github.io/.

Which link: https://jzyzcz.github.io/memeda.github.io/it is your blog address.

Click this link, no accident, then, your blog will appear in front of you.

4. to bind their own domain name blog

So far, the blog has been generated, it is very simple.

Very simple

But this blog's domain name is too long, not very easy to remember, can not be changed to a custom domain name it?

Certainly, like the following operations on the line.

Found Custom domainthis place, fill in your own domain name in the input box, for example: shumanman.mobi , click Save.

Next you need to go there to parse domain name provider domain. My domain name is Ali cloud purchased here Take Ali cloud, for example.

Log Ali cloud console, click on the left side of the "domain name."
domain name

Find the piece you want to bind the domain name, click analysis:
Resolve

Similarly the following, a new two records:
New Record

Modify records

Record Type Select CNAME
record values to fill in your warehouse name

Click Save on the line.

After setting, enter the domain name you just a few minutes set in the browser, you can access your blog up.

These are roughly the setup process.

If you are in the process set in, encountered any problems, you can e-mail contact me.

Finally, I wish you all a happy National Day.

Guess you like

Origin www.cnblogs.com/guohaojintian/p/11614415.html