1. To buy a domain name in China, you must have real-name authentication. If the domestic server must be ICP filed.
2. Rent a server. Generally, there are many Cenos Linux systems and few win systems. Nginx and Apache personally recommend Nginx, and the source code of general enterprise websites and shopping malls accounts for the majority, and PHP 5.4 or above is recommended. Everything before is a little old.
3. Add the site setting domain name: your purchase domain name 2 sets the root directory 3 sets the ftp 4 database.
4, edit the source code, almost from scratch, find some free and open source modifications, choose different systems have different functions: pageadmin forum system: discuz;; Shopping system: ecshop;; Blog system: WP; Systems that need authorization need to pay attention to authorization issues. Generally, it is more convenient to modify the content with deamviewer. If there are few changes, use notepad++. Note: Don't use windows Notepad to modify, it will make mistakes, and the database file pointing must be set well.
5. Download xshell, install it, fill in the server ip, password and link, and upload the source code to the server root directory.
6. Set up domain name resolution, open the management background of the bought domain name, add records, fill in the record type, select Type A, write www for the host record, select default for the resolution line, and enter the record value into the ip of the server. The TTL defaults to 10 minute.
Open the domain name in the browser and browse the website.
Second, hand-made with a key:
Step 1: Baidu search Fairchild Technology, open Fairchild Technology official website and register your account for free. Note: (The generated second-level domain name of the website will be: account number. flspt.com )。
Please click to enter a picture description.
2
Fill in the registration information.
Please click to enter a picture description.
three
After successful registration, enter the background page and click Manage Enterprise Website.
Please click to enter a picture description.
four
Fill in the website title, website type and enter the computer station. For first-time users, you can choose to quickly build a station at the top left.
Please click to enter a picture description.
five
Choose a template suitable for your own industry, and different industry templates can be changed according to your later needs.
Please click to enter a picture description.
six
For example, select the Computer category in the Digital, Furniture and Furniture Department Store column, and then click Use.
Please click to enter a picture description.
seven
After making a website for free, you can upload and edit titles, columns and pictures, click on the top right to preview the generated website, and click on the top left website management to enter the website background management.
Please click to enter a picture description.
eight
You can browse the website data in the background. If you need to bind your own top-level domain name, click System Settings-Website Domain Name and follow the tutorial to bind.
Please click to enter a picture description.
nine
After the website is completed, there will be one at the top of the website. Your website trial qualification will expire in XXXX on XX, xx, xx. Open Fairchild official website, and click-Product Introduction-Open Free Station. It can be used normally after submission.