Friday, September 16, 2011

Creating a Virtual Host with the WAMP Server

Creating a Virtual Host with the WAMP Server: Has it Occurred to create a working directory on the localhost on another drive other than C :/**/ www /? The Following Will show you how simple belajarwebdesign create and configure a virtual host with WAMP.Sebelumnya you must be wondering, what is the advantages of using a Virtual Host? Why why not in the default folder instead? Why be complicated settings here and there etc? Here are some benefits:
Free Placement. With the virtual hosts we are free to create our own working folder on
the drive or folder anywhere within our Operating System. Eg in Drive D: \ Project \ or E: \ Web \ or in a folder from any drive you have.


Risk Less Maintenance. The point is that if our operating system crashes or can not enter the boot and so forth. It must be quite a hassle in terms of data rescue of our work, where the default is generally located in the C drive (Drive Operating System is located).


Short URLs. Examples of our work is the working folder ariesmallville, then we simply call in the browser by typing http://ariesmallville. Where as it is known when using the default way we need to add "localhost" before working folder, eg: http://localhost/ariesmallville


Less additional configuration on the Site. Since the path is a virtual host root, the ease / reduce the impact of reconfiguration (in this case the path) when raised to the Online Site (Upload).


Let me know if you found another one
The ways to create / virtual host configuration is as follows:
Open and edit the file C: \ wamp \ bin \ apache \ Apache2.2.11 \ conf \ httpd.conf by removing the comment sign "#" on the virtual hosts include:

Cara mudah mencari httpd.conf
Hapus tag comment # pada include virtual host
Open and edit windows host file at: C: \ WINDOWS \ system32 \ drivers \ etc \ hosts file, then add the virtual host name according to taste:

Open and edit C: \ wamp \ bin \ apache \ Apache2.2.11 \ conf \ extra \ httpd-vhosts.conf and add the virtual host tags as shown below:
Virtual Host Added


To try it, restart the WAMP and try to menjalankannya. http: / / ariesmallville /
Coming Soon Page :)

No comments:

Post a Comment

Comments