Izzy wrote:Try DocumentRoot "H:/apache2/imyourhandyman" with the quotes.
Same applies for this directive DocumentRoot H:/apache2/rantspace
As a rule of thumb the folder in the DocumentRoot directive must be identical to the folder in the <Directory> directive.
If there is an issue with your vhosts then usually you will only have loaded the first good vhost.
Run the command apache -S in a command prompt in the \xampp\apache\bin folder (cd to this folder) and see if you can spot the errors, if not paste the whole apache -S result here.
If you have name based and IP based mixed vhosts then I usually put the IP based first followed by the name based - but usually there is only the need to use name based unless you specifically can't do any other than use IP based vhosts.
OK new developement... I can only get http://imyourhandyman.biz
from the other machines on the network not from the host machine... I am thinking it might be a network config now,,, but that is a guess... below is the command you prescribed,,, looks good to me but IDK if the default machine is also a vhost as stated in the command prompt... IDK if this is even a problem as it may be ok to the outside world,,, but it will be tough building a site haveing to go to another machine to check edits...
PS... I did implement all your directions with success... I have no prob viewing my other vhosts,,, they are cgi-bin forums as imyourhandyman is just a simple index.html page in the root...
- Code: Select all
wildcard NameVirtualHosts and _default_ servers:
_default_:443 localhost (H:/apache2/apache/conf/extra/httpd-ssl.conf:74)
*:80 is a NameVirtualHost
default server themoddepot.com (H:/apache2/apache/conf/extra/httpd-vhosts.conf:38)
port 80 namevhost themoddepot.com (H:/apache2/apache/conf/extra/httpd-vhosts.conf:38)
port 80 namevhost tokingbuds.com (H:/apache2/apache/conf/extra/httpd-vhosts.conf:166)
port 80 namevhost cannabis-zone.com (H:/apache2/apache/conf/extra/httpd-vhosts.conf:271)
port 80 namevhost imyourhandyman.biz (H:/apache2/apache/conf/extra/httpd-vhosts.conf:346)
port 80 namevhost rantspace.info (H:/apache2/apache/conf/extra/httpd-vhosts.conf:364)
Here I am addin my HOST$ file
- Code: Select all
22.214.171.124 themoddepot.com # source server
126.96.36.199 www.themoddepot.com # source server
188.8.131.52 tokingbuds.com # x client host
184.108.40.206 www.tokingbuds.com # x client host
220.127.116.11 cannabis-zone.com # x client host
18.104.22.168 www.cannabis-zone.com # x client host
22.214.171.124 imyourhandyman.biz # x client host
126.96.36.199 www.imyourhandyman.biz # x client host
188.8.131.52 rantspace.info # x client host
184.108.40.206 www.rantspace.info # x client host
Thanks,,, I love Xammp...