Nowadays, most of my friends who make websites use asp or php system. Buy a good space domain name, do a good job of keyword analysis and selection, and then you have to choose a suitable website program. After choosing the website program, you need to test it. Do not easily upload it to the space for testing, because if this is the case, once the search engine includes your website and you continue to change it, it will make the search engine think that you are If your website is unstable and untrustworthy, you will be in trouble. Therefore, if you want to test the website program, you have to test it locally. What is local testing, that is, running the website program on your own computer, making detailed modifications, and setting up your website.
So how to conduct local testing of the website? There are two situations:
1. Local testing of asp source code
There are two methods for this situation. First, if your website does not have IIS installed, you can download a small green software called Aws.exe. This small software is very small, only over 600K, and can be used without installation. After downloading, put this small software directly in the folder of your website program, then double-click the small software, then open the browser, enter "127.0.0.1", press Enter, and you can see your website. To modify your website, you can go to the website backend to modify it according to the instructions of the website program.
The second method, which is actually similar to the first method, is to install IIS. IIS is a component that comes with the Windows system. However, many users may now use Ghost to install the system. The installed system generally does not come with IIS. At this time, you need to conduct a local test of the website. If you do not follow the first method, you can take out a complete installation version of Windows and put it on the CD, then enter the control panel, double-click "Add or Remove Programs", and click " Add/Remove Windows Components" and put a check mark in front of "Internet Information Services (IIS)". Then click "Next" to install IIS. After the installation is successful, go back to the control panel and enter the management tools. You will see a component called "Internet Information Services". Open it, click the "+" sign on the left, click all the way to "Default Website", then right-click "Properties", select "Home Directory", click "Browse" under "Local Path", and find your local website program file, click OK. Then open your browser, enter "127.0.0.1", press Enter, and you can see your website. If it doesn't work, you have to check if the "Default Website" of IIS is stopped. If it is stopped, just start it.
2. Local testing of php source code
The above method cannot be used for local testing of PHP source code. I downloaded a software called "xampplite" for local testing. Download this software and install it. Then put all the contents of the website program folder into a folder called "htdocs" in xampplite, then double-click "xampp-control.exe" and click on "Start" behind Apache and FileZilla. Then open your browser, enter "127.0.0.1", press Enter, and you can see your website.
Through testing, you can know whether your website program can be used, whether it is easy to use, whether it suits your intentions, and how to change it specifically. Each website program usually comes with instructions. You follow the instructions to find the login entrance of the backend, and then Enter the default username and password to enter the backend and make your personalized modifications.