Personal serverYou can also do without the services of a hosting company, but at the time, they will have to perform their own role, creating a personal web server.
This will require not only a powerful, but a safe computer, because he will have to work around the clock, since any shutdown implies the inaccessibility of the site at such a time.
In addition, you will also need a constant, hurried connection to the Internet. Fast, because the speed of labor with your server will depend on how quickly it can "give out" the information requested from outside. From the "width" of the used connection, it becomes likely to depend on the number of requests that your server will be able to process immediately, as well as the probability of a catastrophic drop in labor speed with the site with an impressive number of immediately connected users.
Registration of an unchanged IP-address will still require certain financial costs. The value for registering one unchanged IP address varies around $ 10. And its maintenance will cost about $ 5 for each moon providing the service. It is allowed in RIPN to register a whole new address space with obtaining a set of permanent IP-addresses. It will cost from $ 500 per year, depending on the number of addresses received plus a one-time fee of $ 180. MIIS (Microsoft Internet Information Server)
If you decide to create a web server with your own efforts, this will not only require a secure computer, but also the corresponding software. The most ingenious tool is to use the built-in Windows operating system, then eat the Microsoft Internet Information Server web server.
MIIS is a fully developed set of services that can not only generate also produce web pages on an external request, but also perform a whole system of special operations.
In order to install MIIS, just go to the "Control Panel", select "Install also remove programs", only in it - "Installing Windows Components." There it is necessary to tick the "Internet Information Services" item and then select the required components. If an FTP server of a different vendor is used, then it is allowed not to install it, only the documentation is best installed in any case.
Do not forget about security. Therefore, until the connection to the network is also configured for the server, it is best to install all previously released operating system updates (and they in most cases "patch holes" in the security system). It is not bad to install an additional barrier on the hacker route - the firewall.
The initial configuration of the server is best done by the general without connecting to the network. The MISS management interface appears in the "Administration in Control Panel" item.
It's quite simple to check the operation of the installed server: in the browser line enter localhost (the standard designation of your own computer). The default page for your server should open. If for some reason the page is not opened in any way, you should check the "Home Directory" tab in the management interface. By default, its value is set to c: \ intepub \ wwwroot. If the directory was not created for any reason, create it manually, or specify a general value for another, specifying, for example, the directory in which the site is stored on the hard disk.
It is similar to check which file server gives on request as an index file (the index file is the file that is downloaded when requesting the site without specifying any other additional links). By default, the default.htm, index.htm, default.asp and iistart.asp are selected. Check if you can eat an index file among them, which is used on your site. If necessary, add new names, for example, for a site written in the PHP programming language, an index file may exist index.php.
If the site also fails to load after that, check the server's logs. They are located at c: \ windows \ system32 \ logfiles. Do not forget about the support of various scripts: this is one of the mandatory requirements for any modern server. Without them you can not build complex systems, the functioning of forums, chats, news feeds. In addition, although MIIS already has built-in tools for working with ASP scripts, they are not at the real time the most convenient as well, as, say, PHP.
Therefore, if you plan to work with other scripts, you need to install interpreters of these scripts on your server, only after the installation you should tell the server which program will be used as an interpreter for a particular programming language.
To do this, open the Microsoft Internet Information Services management interface (Control Panel -> Administration -> Internet Information Services) and create a virtual directory (Action -> New -> Virtual Directory). Setting the directory is simple enough. Enter the properties of the directory, select "Virtual Directory" and click the "Configuration" button. Now on the tab "Mappings" (Mappings) you need to specify which files are executed by which interpreter. For example, for .PL files (written in Perl), you must specify the program c: \ perl \ bin \ perl.exe (the default path when installing the Perl interpreter). It is similarly configured to work also any other scripts.