Ok, here is my setup... I have a windows server with 10 IP addresses.... on one IP I have iis running on port 80, on another IP I have Apache running on port 80. My problem is with Apache conf. I run the site, buffalochicken.com....but for some reason, only buffalochicken.com works, not www.buffalochicken.com. Below is my snippet of code from the httpd file..with the ip addressed just changed for the purpose of this post: NameVirtualHost 192.168.1.3:80 <VirtualHost 192.168.1.3> ServerName www.buffalochicken.com ServerAlias buffalochicken.com DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/buffalochicken.com" DirectoryIndex index.php </VirtualHost> <VirtualHost 192.168.1.3> ServerName www.someothersite.com ServerAlias someothersite.com DocumentRoot "C:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs/" DirectoryIndex index.php </VirtualHost> Code (markup): Any ideas?
Add the following to your DNS as at the moment www is not resolving to anything. www CNAME buffalochicken.com. Code (markup):
Crap, Google has tagged the site as malicious. I need to fix that before trying the dns fix. Thanks Tolra, imma try that...makes sense that it should fix my problem. I just noticed the same issue on another site I have hosted on the same ip. wish me luck