The idea of the tutorial: there is something that can be built from the Internet. Now many people are afraid of it. They always think that it is difficult to build a website. They need to understand the code and spend a lot of money Many problems prevent you from exploring and enjoying the happiness and sense of achievement of building a website.
The original intention of building a black WP website is to let everyone learn how to build a website without understanding the code and high cost.
There are three main parts to build the website: ① domain name, ② server, ③ source code
Purpose: use free source code, 200 yuan cost, 30 minutes without code to build the first website belonging to young people.
Original original: // heiwp.com/30fzmbajz
Step 1: Register and purchase the domain name:
There are two options for buying domain names. One is to buy from domestic operators, such as Alibaba Cloud, Tencent Cloud, Huawei Cloud, Baidu Cloud, The domain names of these domestic operators need real name authentication when they are used according to the national requirements. If they use domestic servers, they also need to be filed (the filing problem will be discussed later); The other is to purchase foreign operators, which can be purchased with registered email accounts, without real name authentication and filing. However, there is a risk of being blocked when using domestic servers. It is best to purchase foreign servers for use.
Some suggestions for domain names: ① keep the domain name as short as possible, with pure letters or numbers; ② The suffix is com first, cn or net second; ③ If it is not required by the brand, it is not recommended to buy the domain name sold by others.
Domain name suggested purchase platform
Alibaba Cloud
: New users only need 23 yuan to purchase the com suffix in the first year and 9 yuan to purchase the cn suffix in the first year. The domain name needs real name authentication.
porkbun : New users only need $4.15 to purchase the com suffix in the first year, and $8.56 to renew it in the next year. They can use it when they register their account and provide free WHOIS privacy *. (The shortage is PayPal)
Illustration and text explanation of purchase process:
Take porkbun as an example
① : Open porkbun and enter the domain name you want
② : View domain name registration
③ : Enter the shopping cart
④ : Select purchase time
⑤ : Fill in account information
⑥ : Select payment method
⑦ : Confirm payment
⑧ : Successful purchase
Step 2: Purchase a filing free server:
The server is also a necessary thing for building a website. It loads the source code and data of your website. According to national regulations, the use of domestic server domain names requires filing. If you purchase servers in Hong Kong and Taiwan, or foreign servers, you do not need to file. So for our novices, if we don't want to be so troublesome, we can directly purchase Hong Kong servers, because Hong Kong servers can access the mainland faster than servers in other foreign regions.
The server is recommended to purchase the platform:
Domestic: Alibaba Cloud, Tencent Cloud, Baidu Cloud, Huawei Cloud, these big brands
Get Alibaba Cloud coupons
Foreign countries or Hong Kong and Taiwan: vultr Ucloud , AliCloud, Hostinger
Vultr $100 registration link
Take Ucloud as an example to explain the purchase process:
Ucloud new user coupon purchase link 1. Through the link of this article, enter the new user page and select the package
2. Register account, fill in information and activate email
3. Real name authentication
4. Select Authentication Type
5. Submit certification materials
6. Authentication succeeded
7. Activity page, select the model
8. Select package content
9. Scan code for payment
10. Enter the background and select "Virtual Machine"
11. Select the region where you purchased the host
12. Modify firewall
13. Enter the firewall page
14. Create a new firewall
15. Set Name
16. Open 9 ports
17. Set firewall
18. Copy Internet IP
Step 3: Install the pagoda panel and WordPress system:
After you have prepared the domain name and server, the last step is to install the source code. There are many kinds of source codes, including open source, non open source, paid, and non paid, Black WP is, of course, the open source WordPress recommended for 30% of the world's websites. It is powerful and easy to operate, which is very suitable for our novices to build websites. However, before installing WordPress, we also need to install an operation panel - Pagoda on the server. Its function is to enable us to configure the environment, install WordPress, and build a website without all Linux command codes. Here are the tutorials for installing the pagoda panel and WordPress system:
A. Install the pagoda panel:
1. Open putty and fill in ip
2. Enter root and password, and log in to the server successfully
3. Enter the following pagoda installation code
yum install -y wget && wget -O install.sh // download.bt.cn/install/ install_6.0.sh && sh install.sh
4. Enter y, and then press Enter to enter the installation mode
5. Successfully installed pagoda
6. Log in to the pagoda and agree to the agreement
7. To install the running environment, select 7.3 for PHP, and then wait for the installation to complete. The installation time depends on the configuration of your server. Generally, it takes more than ten minutes to install
B. Tutorial for installing WordPress system on pagoda panel:
1. Go back to the domain name background, such as porkbun, and enter the resolution page (purchase address of porkbun domain name)
2. Fill in resolution parameters
3. After the running environment is successfully installed, click "Add Site"
4. Enter the domain name and select the database
5. Open your domain name and display the page to prove success
6. Open the website SSL and apply for the SSL certificate
7. Successful application for ssl certificate, open mandatory https
8. Open the root directory of the domain name and upload the WordPress compressed package
9. Upload the compressed package successfully and decompress it online
10. Open your domain name and enter the installation page
11. Fill in the three parameters of the database,
12. The database connection is successful. Go to the next page and fill in the information of your website.
13. Successfully entered the background, and successfully established the site