There are 2 ways of doing this as outlined in the xampp\apache\conf\httpd.conf file
# Listen: Allows you to bind Apache to specific IP addresses and/or
# ports, instead of the default. See also the <VirtualHost>
# Change this to Listen on specific IP addresses as shown below to
# prevent Apache from glomming onto all bound IP addresses (0.0.0.0)
The above will allow you to connect to the XAMPP Welcome Page using any IP.
As long as the rest of the file is set to default.
Here you can add a specific IP address
as I have displayed above it should connect to any IP and even a wild card may work.
Save the file and restart Apache to get your edits recognized and always make a backup of any conf or ini file before editing.
Or using a VirtualHost container as is also mentioned.
Search in the Xampp for Windows
forum, category Apache Friends in English
, using the keyword vhost
will give some clues and example solutions - you can also add Izzy
in the Search for Author
field if you wish to narrow the search a little but is not essential.
Also please read the related Apache documentation.
The vhost method will be able to protect the localhost but let you access a website using your IP or a domain name.
1. The new DeskTopXampp
Launch Control for XAMPP / XAMPPlite
Posted by Ridgewood
available from Ridgewood'sDTX web site
2. Build Rich AJAX
Applications - Faster
TIBCO General Interface Pro Edition
and Open Source
Fully working with NO
donations required to get a user/password