There are occasions on our shared servers, when Google may send you a notice saying your website is hacked. The notice will include your domain name; however, the username at the end is not your username. Google hack notification showing a similar url like the following:

http://your-domain.com/~baduser

If you receive a notice like this from Google that shows your domain with the wrong username added to it, it is your site being confused with a hacked site. This is caused by the "mod_userdir Apache module".

Why is my domain with the wrong username?

Domains that share the same IP address can have cPanel usernames added to the end to reach a particular account. For example, If an account domain-one.com has IP 72.155.26.36 with the username userna5 and they share the same IP as a different cPanel account called domain-two.com with username domain2, then you can visit the site using another persons username like the following.

Correct URLsIncorrect URLs
http://domain-one.com/~userna5
http://domain-two.com/~domain2
http://domain-two.com/~userna5

This is how the Temporary URL system works on the cPanel servers. We do not know why Google caches domains like this. It could be because of an intentional script, someone visiting it, or a error on Googles side. It is hard to say. This is a common issue with all hosting companies that use temporary urls with cPanel.

What to do if your receive this Google warning

This warning is what's called a "False Positive", meaning, it falsely flagged your site as a hacked site because of the "mod_userdir" Temporary URL. In most cases you do not need to do anything. The Warning is not going to effect your website functionality, nor will your site get bad search results.

If you do receive a warning for this, please notify tech support to have Systems look to see if your account can have the "mod_userdir" setting disabled.

Did you find this article helpful?

We value your feedback!

Why was this article not helpful? (Check all that apply)
The article is too difficult or too technical to follow.
There is a step or detail missing from the instructions.
The information is incorrect or out-of-date.
It does not resolve the question/problem I have.
How did you find this article?
Please tell us how we can improve this article:
Email Address
Name

new! - Enter your name and email address above and we will post your feedback in the comments on this page!

Related Questions

Here are a few questions related to this article that our customers have asked:
Ooops! It looks like there are no questions about this page.
Would you like to ask a question about this page? If so, click the button below!
Ask a Question

Post a Comment

Name:
Email Address:
Phone Number:
Comment:
Submit

Please note: Your name and comment will be displayed, but we will not show your email address.

0 Questions & Comments

Post a comment

Back to first comment | top

Need more Help?

Search

Ask the Community!

Get help with your questions from our community of like-minded hosting users and InMotion Hosting Staff.

Current Customers

Chat: Click to Chat Now E-mail: support@InMotionHosting.com
Call: 888-321-HOST (4678) Ticket: Submit a Support Ticket

Not a Customer?

Get web hosting from a company that is here to help. Sign up today!