Use AWS servers to build an aggregated domain DNS management system

AmazonCloud Technology offers a wide range of cloud products, which are also available for free trial. Visit:Amazon Web Services official website

20241015235241677-c97f39dd2f4166d0e924af856eb81736

Click the top right corner to create an account

20241015235325128-c956c1e78539025c76932447a64276fc

Follow the registration process prompts to register an account

20241015235434767-74ed3da3e76b74d21fe4b7111eb626a3

Finally, after filling in your credit card information, registration is complete

20241015235503539-1988ad0f48182b7035b5f28733db462c

Registration successful as above

Next, after successfully activating your account, click to enter the console

20241015235623878-f9e050111ef8e5d0e2b39ee733e953fb

We use the Asia-Pacific region as an example to create a new example

20241016000155625-5acd6b133c590309898e0edd387d775c

Click to start the instance

20241016000213381-28fff9450a8921cb150ee6bf709edf0f

Choose the Debian system

20241016000304687-4344af1108ea14a7ca0c0127cd13866b

Here, we follow the prompts to create a key pair

20241016000304687-4344af1108ea14a7ca0c0127cd13866b

Click Startup and a startup notification will appear, indicating that you can use the server

20241016000358481-6bfd51a59f7cd3badc5fdd4dca7bee19

To connect our machine, we need an SSH connection tool

20241016000516588-b67810a0a24bb79a5f581eed115f8ec6

Search for finalshell and click to enter the official website

20241016000555687-d9b16bc81fcbbf2813ff4a74acd3941f

Find the version that matches your computer system, then download and install it

20241016000638443-db183939fcd3a5856866ccce67f81aa1

After successful installation, this page will appear when you open it

20241016003259796-e6919f7c53f3133a2173b7c941ed130a

Click the upper left corner to create a new SSH connection. Enter the server IP for the host, default username is root, and the password is the key pair we just created

20241016001006581-661f44331d45a132d9c62f979322af71

A successful connection is just such a page

Next, let's deploy the pagoda panel and visit the official pagoda website bt.cn

20241016003134818-6caecd6351369efd7b087df12b4d3414

Find the one-click installation script corresponding to your server system, copy it, and paste it into the ssh command window

20241016003338518-71c8fe1074fd43ef75506b04b1cbdc8c

After press Enter, the script will start running

Note that the middle script will prompt once; enter y and press Enter

20241016003451905-d4df9e4ef4e36fac06a70b20bf818baf

Waiting for installation

After successful installation, a panel entry and account password will appear

20241016003648255-978964bcb6c93fc0e558e47bef8405b2

Copy it to your browser and open the login panel

20241016004109407-42208af830bd36e521cb4984bb4b50a1

After logging into the dashboard, it will recommend you deploy the Web Services Suite

20241016004133666-ee1b0a660d824b9c47241e4c69f60a0d

We select LNMP for one-click installation

20241016004221120-8b917e7efff4339f2768b8dac7a55490

Please be patient while the deployment is complete

After deployment, click "Website" in the sidebar.

20241016004456970-293e4df7e8768aa5367bc986734aef39

And choose to create a new website

Enter your domain name and create a new database

Next, let's download itdnsPolymerizationParse the source code of the program

20241016004734707-2d370790c577920e0dea1cfefb629432

Access address:Source code link

20241016004909238-8ef32dd1e4eb47b692b99419357fbd60

Click to download the source code compressed file

Then upload the downloaded compressed file to the Pagoda directory

20241016010129859-184bd10b1f431cd0fa2a196a5a8fcbd8

After uploading, extract to the directory

20241016010201991-63d32e43ebaf5827b0ae99e0f28c197d

After extracting successfully, you also need to set the running directory and pseudo-static settings

20241016010241783-eef2c570e5e4a1bc615a865fd6a44d04

Set the website runtime directory to the /public subfolder

Also, based on the installation documentation on GitHub, set corresponding pseudo-static settings

20241016010357452-04d528a815966159a8d1f12790665204

We chose the nignx environment, so the pseudo-static rule should be

location / {
	if (!-e $request_filename){
		rewrite  ^(.*)$  /index.php?s=$1  last;   break;
	}
}

Copy it to the pagoda and paste it into the pagoda to save

20241016010502385-861d67b41ec60ce8d4bc0713eb2b2c76

Next, visit the website's domain name and go to the /install installation page

20241016010609127-43c7a62ad03503c6e6aaa780e2063881

Enter the previously set database information and click Installer

20241016010645821-6ba5b01d58f42166300533843d071a72

After successful installation, a login page will appear. The default account is admin, password is 123456, and you can enter login. Remember to change the default password in time

20241016010826545-9301494bce637b01d39244206ab9ac94

After entering, the default page looks like this

Click the sidebar domain account to add the ID and key of the official platform

20241016010956193-d2d61682e8f56de9f12b61aa436b7bef

The official explanation for how to apply for a key is detailed here, so it won't be repeated here

20241016011242128-cd52138b549db59f6beb6921d6e92a58

After adding the domain account, we can add the domain name

Aggregated DNS resolution management has many more features to explore on your own

For example, one-click use of CF preferred IPs, setting disaster recovery policies, automatic switching resolution of website access abnormalities, and so on

20241016011522959-image

This tutorial ends here. Thank you for watching

© Copyright Notice
THE END
If you like it, please show your support
Likes0 Share
Commentary Be the First to Comment

Please log in to comment

    No comments yet