First, open the console of Aliyun and click Remote Connection

(Video tutorial at bottom of article)

Click “Log in now” as shown below

Enter the administrator password and click OK to remotely connect to the server desktop

First, deploy the Web environment

Before building a website, we need to deploy the Web environment. Here, the pagoda Windows panel is recommended for one-click deployment of the Web environment. Enter the pagoda official website address in the browser address bar of the server and choose Pagoda Windows Panel to download it.

Next, double-click the installation file to install.

Open the Pagoda panel, you can see the login address and account password information of the panel. If you cannot open it, you need to go to the Console of Ali Cloud server, find the security group, and release port 8888, 3389, 888, 80, 443, 20 and 21.

If the server browser is jammed, you can log in to the PC browser or you can log in.

Once logged in, click “IIS Suite” and click “Install with one click”.

Then wait patiently for the installation to complete.

For details on how to manually configure your wordpress site, see wordpress Manual (Windows).

I will not write here, I think the pagoda with a key configuration on the line. There’s no need to go through every option on the Windows desktop.)

Next, to build a wordpress website, you can choose two ways:

The first is to add the site first, manually add the database, upload your own wordpress installer, and then install.

The second is one-click wordpress site deployment, database and site domain name binding are all in one step.

(Here I would like to remind you, if your server is in the mainland of China, then you need to put on record before binding domain name access, if it is Hong Kong, China or overseas server, do not put on record.)

Please first resolve the domain name to your cloud server public IP address, as shown in the picture, if you do not understand, you can refer to this article: Domain name resolution Tutorial

Let’s start with the first one, namely

Second, manually add site deployment wordpress

In the pagoda panel, select the left “website”, click “Add site”, fill in the relevant information, click submit. You need to create your own database here, as shown in the figure below

Please note and save this information for later use.

Next, open file and find the root directory of the site you just installed, which is www.yun3.fun under the wwwroot directory

You can download the wordpress installation package locally and upload it, or click remote download and enter the installation address to download the package to the current directory. The official wordpress installation package download address: click to view

Then unzip the installation package to the current directory.

Usually, there is a folder inside the decompressed package, which is the following wordpress folder. We need to cut all the files in the folder to the current directory. Then the empty wordpress directory can be deleted.

Select all the files in wordpress and click “Cut” in the upper right corner.

Go back to the previous directory, click “Paste All”, paste in

You can see that the files inside have been moved to the root of the site.

Next, we go to the browser address bar: your domain name /index.php

or

Your domain name is /wp-admin/install.php

Here, for example:

www.yun3.fun/index.php

Note: If you do not find the wp-config file, you can modify the wp-config-sample. PHP file and replace it with your own database information. Change the file name to wp-config.php and restart the web server. See this article for a setup tutorial, and finally, try restarting the Windows server.

)

Then, the installation began. Install it step by step.

If you still forget to save the database information, you can open the left side of the panel “Database” to check.

Click Install Next

Next, log in to the wordpress background. Successful visit to the website!

How to set pseudo static?

Click “Settings” on the right side of the site, select “Pseudo Static” – select “wordpress” and click “Save”.

How do I set an SSL certificate?

For example, you can apply for a free SSl certificate on Aliyun, and then download the certificate file of the corresponding server type, as shown in the figure

Unzip the file to get the following file

In the pagoda panel select site-Settings, select the “SSL” option, click “other Certificates”, select the just decompressed. PFX file to upload.

Next, click “Deploy” and enter the certificate password (the password is in the downloaded TXT certificate file)

The deployment is successful.

Type https://plus your domain name in the browser address bar (in my case https://www.yun3.fun) to see if it works.

You can see that the SSL certificate is successfully deployed and HTTPS access is implemented.

If you want to force HTTPS, check the option below.

So when you enter the domain name, you automatically add HTTPS in front of it.

Let’s talk about the second one, namely

(Optional) One-click wordpress site deployment (recommended)

This method is a little easier than the above one, choose the left side of the Pagoda panel “Software Management” – “One-click Deployment” – “WordPress one-click Deployment”, as shown below

Next, fill in the relevant information and click Submit. (Here I use the new resolution secondary domain name to do the demonstration)

Again, the database account information is best saved for later use.

This means we don’t need to upload the wordpress installation package ourselves, because it does this automatically.

Just type your domain name /index.php into your browser’s address bar.

For example: new.yun3.fun/index.php

Note: if you have problems finding the wp-config.php file, please refer to the solution given above. For example, modify the wp-config-sample. PHP file correctly, rename it to wp-config.php, and then restart the IIS server.

)

The following pseudo-static Settings and SSL certificate configuration are the same as above, which will not be repeated here.

You can view the video tutorial below: www.bilibili.com/video/BV1az…