Newbie to Virtual sites in Apache – ( httpd.conf)
I am trying to understand how it all works, I have the following config in my httpd.conf file: I can load the site using the a IP address e.g. 192.168.1.10 in the URL – ( http://192.x.x.x. etc but when I go to use the site name it will not show? Do I have to have a register domain name to make this work?
# Project Your IT connection
<VirtualHost 192.168.1.10:80>
DocumentRoot E:/xampp/htdocs/yitc
ServerName yitc.yitc.com
#ServerAdmin dick@exemail.com.au
#ErrorLog logs/yitc.yitc.com-error_log
#CustomLog logs/yitc.yitc.com-access_log common
#ScriptAlias /cgi-bin/ /www/localhosts/yitc/cgi-bin
</VirtualHost>
I have been try different way to get this to work but I am not having much luck!
I would be grateful for any suggestion to help me with this problem.
Dick