Forum Moderators: phranque
I am trying to modify httpd.conf on local windows machine. I do not want to use localhost as the server name, rather i want to use www.xyz.com.
I replaced occurence of localhost with www.xyz.com in httpd.conf and added following entry in c:\windows\system32\drivers\etc\hosts file
127.0.0.1 www.xyz.com
I restarted the apache. and tried to access www.xyz.com from the browser. But rather than displaying my local apache home page, it is displaying the actual site www.xyz.com contents.
Please help.
Thanks,
Brijesh
Are there any other 'complicating factors' involved here, such as a software firewall, anti-virus/anti-malware software -- any other programs that might be monitoring communications or have hooks into the TCP/IP stack on this machine?
Have you tried re-defining the IP address for other domains that exist? How about other domains that do not exist? How about defining your domain's IP address as something other than 127.0.01? What else have you tried?
Jim