Click here to Skip to main content
15,886,362 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hi,

My site is: http://www.shaunak.ws and I am facing some problems on it for about 2 months now.

Occasionally, when I type my site's address without the "www" [http://shaunak.ws] I am redirected to a strange page filled with advertisements.
Screenshot1: http://imageshack.us/a/img405/1276/problem1d.png

However the correct site loads if I type the "www" [http://www.shaunak.ws] the page loads properly:
Screenshot 2: http://imageshack.us/a/img42/8846/problem2l.png[^]

I have had this site for a long time now, and have never faced this problem.

This is my htaccess file: http://sharetext.org/LKSI[^]

My hosting provider is http://www.whost.in/
I contacted them but they could not identify the problem.
My domain name registrar is http://www.netlynx.com/
Even they could not identify the problem.

This happens on my PC, my friend's PC and my PC at work, so I don't think it's a malware or virus issue with a particular computer. I cant figure out why is this hapenning, is it a DNS issue, domain name issue, server/ host issue?
The server is a linux based one.

Please tell me what I need to do to resolve this and why is this hapenning?
Posted
Updated 24-Sep-12 0:35am
v4

It's probably a virus \ malware on your machine.

A sneaky way some malware work is to register additional DNS servers that areresponsbile for serving up malicious content, such a advertising or more malware infected sites. DNSChanger was a well known malware that done exactly this,

http://blog.eset.com/2012/05/31/dnschanger-%E2%80%98temporary%E2%80%99-dns-servers-going-dark-soon-how-to-check-your-computer[^]

Because they are registered alongside your 'normal' DNS, you get erratic results - sometimes you see the correct content, sometimes you see the malicious content.

Maybe follow the instructions in that article to see if you have any rogue DNS entries, you can achieve similar through cmd->ipconfig /all

Run a full malware scan as well. Malwarebytes [^] is my favourite for this.
 
Share this answer
 
Comments
Shaunak De 24-Sep-12 6:30am    
This happens on my PC, my friend's PC and my PC at work. So I think a virus problem is not likely. I am following the article anyway.

PS: Is it correct for you?
Dylan Morley 24-Sep-12 6:35am    
ah OK, I updated your question to include that info.
Shaunak De 24-Sep-12 6:38am    
Thanks :)

Maybe its an issue with the ISP's DNS?
Shaunak De 24-Sep-12 6:33am    
Microsoft Windows [Version 6.1.7601]
Copyright (c) 2009 Microsoft Corporation. All rights reserved.

C:\Users\ysrao>nslookup shaunak.ws
Server: dnscache.iitb.ac.in
Address: 10.200.1.11

Non-authoritative answer:
Name: shaunak.ws
Address: 173.192.176.186


C:\Users\ysrao>

^^ The above IP is correct
This was probably caused because the DNS records were not set correctly. It was accidentally set to "ns2yaghost.com" instead of ns2.yaghost.com.

Correcting this seems to have resolved the issue
 
Share this answer
 
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900