Joke Collection Website - Blessing messages - How to build your own website in Alibaba Cloud or Tencent Cloud, do a good job in front-end and back-end php codes and databases, buy domain names, and rent servers and equipment.

How to build your own website in Alibaba Cloud or Tencent Cloud, do a good job in front-end and back-end php codes and databases, buy domain names, and rent servers and equipment.

If the website is small and you don't know the server, it is recommended to buy a virtual host. After purchase:

1, send addon domain to the host;

2. Obtain ftp account information and upload the program with ftp software;

3. Import the database, modify the program configuration file, and connect to the database, and it will be OK.

If you must use a cloud server, you need to configure the web service environment after purchasing the server:

1, install Apache/nginx;; ;

Step 2 install php

Step 3 install mysql

Step 4 install ftp

5. Modify domain name resolution, configure apache binding domain name, upload program, import database data, modify database configuration file, and finally you're done.