What I could do was just set IP-Based virtual hosts and can’t play with Name-Based ones - on local host-. any doable idea? Or even particular tutorial? I can’t find out what’s wrong with that!
Here is the code witch I use in my httpd.conf file for virtual hosts (It works):
Code: Select all
NameVirtualHost 127.0.0.1:80
<VirtualHost 127.0.0.1:80>
ServerAdmin local@local
DocumentRoot "c:/apachefriends/xampp/htdocs/"
ServerName this-parameter-isnot-working
</VirtualHost>But what's wrong with this one? (something.com is not available!)
Code: Select all
NameVirtualHost something.com:80
<VirtualHost something.com:80>
ServerAdmin local@local
DocumentRoot "c:/apachefriends/xampp/htdocs/"
ServerName this-parameter-isnot-working
</VirtualHost>Any idea will appreciate...