Website
Last updated
Was this helpful?
Last updated
Was this helpful?
Taking some notes regarding building a website.
First you may need to buy and host a domain. For example, hanzheteng.com
To check domain status, you can use . This can provide you with some information, but not a service to host your own domain.
To register or buy a new domain, you can use or . They are domain service providers, and can help you host and manage this domain (including setting up DNS server).
For the latest version (22.04) of Ubuntu system, you should be able to set up everything by following this official latest tutorial: ,
For Ubuntu 20, you may encountered some errors in gem install jekyll bundler
. To address this, just to install a previous version of jekyll. Either of the following way shall work.
Then just follow the rest of to compile and run the web pages locally.
There are some issues with the rendering of Github Pages on the Github remote server. The webpages can build and render correctly in local environment, but not on the Internet after pushing to Github repo. Two things to change:
In markdown source files (e.g., index.md
), change the keyword layout
to layouts
. This is may be a legacy issue. Reference: .
In the _config.yml
file, baseurl
and url
have to be set propely to a remote address. For example:
Website builder: ,
Website builder for hackers: , , ,
HTML templates:
Jekyll templates:
Hugo templates: ,