i added the below lines in httpd-vhosts.conf. if i type the url 'wiki' from the local machine, it works fine and i get redirected to the website. however, if i type the same url from another machine on the same network, it is not able to find the website. what am i doing wrong ? i am new to this and any help would be appreciated.
please note that the computer name which is hosting the server is DPD008640 and typing this from 'another pc (not the local machine)' on the same network, i can access the website..however, i want to replcace DPD008640 to wiki
Thanks.
NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot "F:/ABC/xampp/htdocs"
ServerName localhost
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "F:/ABC/xampp/htdocs"
ServerName wiki
ServerAlias wiki
<Directory "F:/ABC/xampp/htdocs">
Order allow,deny
Allow from all
</Directory>
</VirtualHost>