Install WampServer 2 Wi-Fi Wireless Security How to mount a server and not mess up in the attempt ... that's what I try explain.
Start by installing the server, we use our
WAMP. This version incudes,
- 02/02/1917
- Apache Php Mysql
- 5.3.3 5.5.8 (32-bit version)
- PhpMyadmin
SQLBuddy 1.3.2 3.2.0.1 -
accept all questions to make us change installation folder (default c: \\ wamp) to ask us if we start WampServer, we began and we go to our browser and type in the address bar directly
http://localhost or 127.0.0.1
We will see this page.
With this we must be completely installed wamp, now let's see what is installed and where everything is.
folder www: www folder is the folder where we store our pages by default, a little further explain how you change this option
httpd.conf file : This is the configuration file server, are stored all the data and modules WampServer
file httpd-vhosts.conf : This file is in the Capetian
C: \\ wamp \\ bin \\ apache \\ Apache2.2.17 \\ conf \\ extra and to set up the virtualhost, we will come good if you want to put more than one page on the server.
Well these are the files largest server configuration.
To change the folder that hosts our website edit the httpd.conf file is opened directly if you click on the icon "has revolutions" of selected wamp apache => httpd.conf, will seek the line where it says DocumentRoot
: and substitute "
c: / wamp / www / " for the direction of the folder where you have the index of our site
NOTE: if you've ever used MS-DOS all you see dadao ever noticed that the prompt is to the left slash "\\" as eye because here the bar is right "
/ "
You can also change
mail at admin @ localhost ServerAdmin substituting this for your e-mail, Admin@miweb.com.
hostvirtal If we set a, we must also decomentar the line is near the end of the file and says
# Include conf / extra / httpd-vhosts.conf to uncomment one must remove the # ("cat") and let so
line Include conf / extra / httpd-vhosts.conf also have to edit the
C: \\ WINDOWS \\ system32 \\ drivers \\ etc \\ hosts and add the name of the host: localhost 127.0.0.1
127.0.0.1 127.0.0.1 server1 server2
would also be nice to assign a fixed ip to the computer, this is done in Network Connections
We select our network adapter (wireless, local area), right click mouse and select properties internet protocol (TCP / IP) and click Properties.
There put the data of our connection, to check them go to Start => Run => cmd
and type ipconfig or ipconfig / all
To DNS
put the best option is to watch them on the router
(well if not the best but it is what I use)
Now we edit the file and httpd
- vhosts . Conf , find the line where it says:
# NameVirtualHost *. 80
If you commented (#) uncomment the
have to be so :
NameVirtualHost *. 80 We delete all other or what we discussed, to consumer tastes and add:
usuario@servidor1.x ServerAdmin
ServerName servidor1 ServerAlias Servidor1.x DocumentRoot "c:/ wamp /www/servidor1" DirectoryIndex index .html ServerAdmin usuario@servidor2.x ServerName servidor2 ServerAlias Servidor2.x DocumentRoot "c:/ wamp /www/servidor2" DirectoryIndex index . Html ServerName localhost DocumentRoot "c: / wamp / www Well let's see, ServerAdmin Usuario@dominio.x this is the email address of administrator, a line is optional, if you're not even needed proof that you can do, or you can comment (#)
ServerName server1 This is the same name we put in the hosts file the folder C: \\ WINDOWS \\ system 32 \\ drivers \\ etc
ServerAlias \u200b\u200b*. servidor1.x servidor1.x indicates the list of names that can be used to access the same web site , this is for multiple domains pointing to server1 , and it must have also DNS server configured so that you can match those names to an IP address your server. So if you are in evidence or not local hara you really need and can comment (#). DocumentRoot
" c: / wamp / www/servidor1 " This is the address of the folder where our web and where to search the index file our web
DirectoryIndex index . html This we say which is the file you have to execute when we call from the browser to http://servidor1 can put the name you want, and if the comets (#) by default to limp are placed in the file httpd . Conf
This is the same for server1 server2 and then Localhost is to access phpmyadmin and phpinfo ()
Well I have not commented before but first you must create folders server1 server2 if not .. does not work! : P
Save all files restart WampServer ... and try ... and try ... because I think that you are not going to work first time, at least after reading many manuals I've come to the conclusion that every system is different and each system has its .. "Little secret" as a firewall 's, a slash (\\ /) misplaced ... I think I have not been any "rabbit" if so comentadmelo and change ...
But that I leave you discover it be with you!
I hope you resolve any doubts! By
PeYuTrOn