|
Adding Web Sites
To your Local Xampp Server
Without going into to much detail about the Xampp web server.
You can simply add as many web sites to Xampp as you like. The only limit is Hard disk space and Memory.
The Apache web server has a default folder called htdocs. This folder is the place where you will store your web sites and or web projects.

Now if you add any files or folders inside the htdocs folder you should be able to view them in your web browser. by typing in an address like this http://localhost/whateverfoldername the "what ever folder name" would be replaced by the name of the folder or file. Please note: that if you use a folder it then becomes part of the URL path. Example: http://localhost/foldername/

By default XAMPP adds index.php and a index.html files. By default if you type in http://localhost the index.php file sends you to xampp folder. Now by editing the files names you can view all the files in the directory. So rename the index.php page to xindex.php and the index.html to xindex.html.
Now type in to you're browser address bar http://localhost Now you can view all the files and folders inside the "htdocs" directory.

Now to add your own sites just make folders inside the htdocs folder. You can also add sub folders. example:
Clients-- |--abcClient |--xyzClient Projects-- |--joomlasite |--joomlasite2
You can view your sites via two ways. http://localhost then clicking on the link.
Or type in the http://localhost/foldernames/
Special note: You have changed the default way of viewing the Xampp web based control panel you can re access it via this address http://localhost/xampp or by clicking the link via your browser.
For adding Database base web sites see the PhpMyAdmin section.
|