Buy a domain name to play ~~💰💰💰
Personal blog binding domain name
Buy a domain name
Namesilo (convenient, no need to fill in real personal information) and Aliyun (Chinese, real-name details may be required)
namesilo
-
Enter the official website, search and select the required domain, and register it
-
Pay, use Alipay, need to set up alipay mailbox.
-
After the purchase is successful, wait for the jump. Your mailbox will also receive a successful purchase email.
- Annual renewal is required. If not, there will be a protection period, after which the domain name will be reopened for purchase
-
Click On Manage My Domains.
- You may need to fill in basic information for the first time. Click Create My New Account. Just make sure your current email address is real
-
On the domain name management page, click the blue round button to enter the Manage DNS page
​
Ali cloud
- Enter the official website, register an account, domestic account usually need to provide real phone number/name/ID card, etc.
- In the Domain name and Website TAB, select Domain name Registration. Or directly enter the domain name Console in the search box and select domain Name Registration.
- Search the domain name, add the list, settle the bill
- Individual or business
- Fill in [personal] information
- pay
​
Configuration making Pages
-
Add a domain name
- Find the Github Pages custom Domain, add the domain name, and SAVE
- The repository will have a CNAME file that records the configured domain name
-
Note: Enforce HTTPS is not checked. HTTPS is not enabled for now (this is easier to test)
- If checked, all pages related to the current repository may need to become HTTPS and may need to apply for free certificates
​
Configure DNS
The net effect is to have four A records appear on the DNS administration page for the domain name, and you’re done
Configure four A records
-
Find the Github Pages custom Domain and click Learn More to find the apex Domain
-
Find four IP addresses and add them to the domain name
185.199108.153. 185.199109.153. 185.199110.153. 185.199111.153. Copy the code
Namesilo Configuration A record
-
(Click the blue circle button) to go to the domain name management page, click Select A
-
A configuration is generated, and four IP addresses are successively overfilled into the submission to generate four configurations. You only need to keep these four configurations and delete other default configurations. The default configurations are useless
Ali cloud configuration A record
Basic with namesilo
- In domain name DNS resolution, add four A record IP addresses
- Select @ from the drop-down list
​
Test whether the DNS is configured successfully
Open the command line and run nslookup liubingxuan.xyz
- If four IP addresses recorded in A are displayed on the CLI, the DNS configuration takes effect
- The configuration may not take effect immediately, and you need to wait (half an hour, a day or more, you can only wait, 😥).
- Windows user: nslookup domain name
- Mac users: dig + noall + answer domain name
- A It may take A long time for the record to take effect. Just wait
​
Unable to access domain name
If all configuration is successful, but still cannot access the domain name, enter the blog or blog garbled, then give up the domain name 😅 Use xxx.github. IO is also good 😑
- Delete the CNAME (custom domain name) from the repository. Delete the Custom Domain from Settings.