Virtual Hosting Adding multiple domain names in XAMPP question ???
The setup apache friends xampp (basipaket) ver 1.7.0
Apache 2.2.11
N0-IP DUC v2.2.1
Windows xp professional with service pack 2.
My web hosting with cable ntl use dynamic ip address DHCP.
A few attempts to add an extra domain could not be seen outside my local host.
My first domain name works fine as a local host and externally can be seen anywhere on the internet. The second domain name is working but brings up the same index file
as the first domain name.
I am using XAMPP and wish to use free domain names supplied by http://www.no-ip.com/
both urls g6xfu.myftp.org and systems-edge.myftp.org are ticked with a yellow simily icon.
Editing the
apache 2 httpd-vhost.conf and httpd.conf did not work
-------------------------------------------------------------------------------------------------------
#
# Virtual Hosts
# c:/xampp/apache/extra/httpd-vhost.conf:
# unused # comments removed for readablity
#
# using a ddns free domain from no-ip.com http://xampp/htdocs/myftp.org
#
# No-ip DUC loaded
#
# windows xp professional with service pack 2
#
# default xampp install works 100% with a standard install with both localhost & remote internet connection
# the email address is on different host
# testing the following settings.
# required to work with both local PC and remote internet access.
#
#
<VirtualHost *:80>
DocumentRoot c:/xampp/htdocs
ServerName localhost
ServerAdmin admin@localhost
# ErrorLog logs/localhost-error_log.log
# CustomLog logs/localhost-error_log.log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin nospam@systems-edge.co.uk
DocumentRoot c:/xampp/htdocs/g6xfu
ServerName g6xfu.myftp.org
ServerAlias http://g6xfu.myftp.org
# ErrorLog logs/g6xfu/logs
# CustomLog logs/g6xfu/logs.log common
</VirtualHost>
<VirtualHost *:80>
ServerAdmin nospam@systems-edge.co.uk
DocumentRoot c:/xampp/htdocs/systems-edge
ServerName systems-edge.myftp.org
ServerAlias http://systems-edge.myftp.org
# ErrorLog logs/g6xfu/logs
# CustomLog logs/g6xfu/logs.log common
</VirtualHost>
#
# \ changed to / to comply with linux
#
# paths for my site c:/xampp/htdocs (default localhost with my index.html)
# c:/xampp/htdocs/g6xfu/index.html (my start page for http://g6xfu.myftp.org)
# c:/xampp/htdocs/systems-edge/index.html
# (my start page for http://systems-edge.myftp.org)
# C:/xampp\htdocs/systems-edge/logs (folder for error logs)
# the script in c:/xampp/apache/conf/httpd.conf needs enabling remove
# the hash prompt in the following Virtual hosts.
# Virtual hosts Include c:/xampp/apache/extra/httpd-vhost.conf
#
#end of script
------------------------------------------------------------------------------------------------------
The above settings failed
(1) could not launch the apache control panel
[tick] Apache (Running not displayed)
(2) localhost not working
(3) clicking on the xampp_start icon in the xampp folder came up with a error window problem in line 500 or 501 httpd.cnf
---------------------------------------------------------------------------
Does anyone have a working setup under windows apache xampp.
For addon domains that work with localhost and remote internet access.