Personal Website Construction Complete Manual
Alder had not given you something for a long time, but has always been constantly received Email, asking Aldes, concerned about the African website, and proposing various suggestions to Adheri, so that Admiral is touched . So, the following things are written to everyone, I hope to have some uses to friends.
First, the goals and planning of the station
I remember that when I started to do a web page in Ninth, I did some static HTML pages, but I found out that the page of this way was updated particularly inconvenient, so I wrote a set of background systems. It has made a database of database-based websites. After so many years of development, this set of procedures has been relatively perfect. Therefore, our goal is to do a website for easy maintenance, powerful, beautiful interface, and easy to operate.
Ok, there is this goal, we will choose the technology used by this goal, and the current common web programming technology is nothing more than CGI, ASP, PHP, JSP, and ASP.NET, comprehensive consideration, ASP running in a Windows system operating system , Set, installation is relatively simple, and we can also learn ASP on your own machine. It seems that we use ASP, follow MS, never have too big mistakes; then we think about it Database system, database systems with ASP usually have SQL and Access, SQL performance, but installation and commissioning is more complicated, if it is rental, the cost is relatively high, not suitable for us, Although the Access library is slightly poor, but the experiment Certification, performance can be satisfied when the database is not more than 50MB, while renting space does not have to be charged, so for individuals, it is not yet.
After you have selected it, we have to pick the right host. Nowadays, the spatial merchants are really a lot. Since they are arguing, the price is generally not very high, take 100MB of space as an example, the price ranges from 300 yuan to 1000 Both, everyone only has a reasonable price, fast and stable space, but pay attention to the following questions in the middle:
1 To use Win2K, and support the host of the ASP.
2 Requires support for Access database, pay attention to the space price, which does not support Access database, or additional charges.
3 Requires to support write file permissions, and the Host Africa is not supported, which is important, otherwise the database can not be updated, unable to upload files, and even the counters cannot work.
4 requires a single file size unrestricted, some hosts limit single file size cannot be greater than 2MB, this space, with the increase in the content of the website, the database is increasing, and we can't meet our requirements.
5 It is best to support the FSO component, and the CDONTS component, before you read and write text files, the latter is used to send an email. Some hosts do not support these two components.
Written this big pile, maybe the host is still not good, because the host provider generally does not write his host to support FSO and CDONTS, and I found that some of the host chambers will not support some functions, it is a very troublesome. Best. Then there is a high host merchant fee. It is often very high, and the charging of the small company is low, but it does not guarantee whether their company will provide services long-term service, and there is more opportunities for technical issues. Don't you solve it? The way is to start the host! ! This sounds seems to be a incredible thing, but following A, soon, you will stand your web server and open the station.
I just had a meal, I saw the TV, and I will continue to write how to build a web server. Here we use win2k as an example. If it is the server version of Win2K, IIS is installed after installation, if you don't have IIS We can install this service in the Control Panel by "Adding Removed Programs - Windows Components -Intrenet Service (IIS)", in the IIS installation option, there is a FontPage server extension recommendation not to install, anyway, my never Not mounted, because it will create some useless files, which will make you can't find the file when you find a file, and you will not let you save the trouble when you save. After installing the IIS, install the Win2K SP3 (download address: http://download/win2000platform/sp3/WIN2000PLATFORM/SP3/NT5/CN/W2KSP3.EXE), let the website security is more guaranteed, good, Now the software on the server is almost the same, you can try your machine to run the ASP normally, how to try it? Replicate the following code to a file named "default.asp", the code is simple and only one line is:
<% = "Hello, your machine can run ASP"%> "
Ok, then use this file copy to the c: / inetpub / wwwroot directory, then enter: http:// **** in the IE address, the *** is your machine IP, if not Know the IP of the machine, you can use http://127.0.0.1, if you see the above sentence, you have shown that your server is installed, if you don't see it, explain IIS, there is a problem, you need to reinstall it.
Next, we also explain the IIS settings, enter the Control Panel - Management Tool -Internet Service Manager, here is the setup of IIS, click the default web site, then click the property, enter the setting of IIS, here common settings There are two items, first, we have to add: index.htm index.asp because many programs' main files are index.asp, but IIS does not add them. In addition, it is the primary directory, and it may also be modified in the future.
So far, the host is basically set, if you put your website file in the wwwroot directory, others can access your website by entering your IP address, but there is a big trouble, now many friends may now Users who use ADSL or other means without a fixed IP address, which will bring great inconvenience to visitors, but we can change this inconvenience through dynamic IP, static domain name technology. There are now many websites that provide this technology. Their basic principle is to apply for a secondary domain name on this website, and then install a client software on the local machine. Each computer starts this client software will put local The IP of the computing machine is sent to the server to point the secondary domain name to your computer IP. In these websites, I want to recommend http://www.oray.net/, because I think their service is relatively stable, although it is a free service, but the attitude is very good, you can get a call every time you call it. Mr. is very detailed. Let's apply for an account at http://www.oray.net/, at the same time, if you are: http://e-fish.vicp.net, install the client software, if You enter your second-level domain name that you can't access your machine, then you can try to enter your machine on the Internet's IP address, see if you can access your homepage, if you, explain your IIS, you want Go to http://www.oray.net/ Take a closer look at your domain name, or take a closer look at the help on this website, you can also ask questions on their forum and seek solution. Here, the host settings are very good, our personal host will set up! The host has a good, our website is still empty, there is no content, how do we build this website?
Next, I will introduce you if you build this website.
Ok, let's write here, continue, do you look like a host? Please: http://e-fish.vicp.net This is also the demonstration of the website management program for everyone. In addition, please visit the Amai's website to http://www.zydn.net, contact Email: info@zydn.net QQ: 8692589