Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

A site with www.site.com (make with php)works normally but without www "site.com" has been hacked. How can I clean injection? Thanks

share|improve this question

migrated from stackoverflow.com May 24 '10 at 21:52

This question came from our site for professional and enthusiast programmers.

closed as not a real question by MattB, Zypher, Sven, radius, Warner May 24 '10 at 22:18

It's difficult to tell what is being asked here. This question is ambiguous, vague, incomplete, overly broad, or rhetorical and cannot be reasonably answered in its current form. For help clarifying this question so that it can be reopened, visit the help center. If this question can be reworded to fit the rules in the help center, please edit the question.

    
You should be more specific about your server, etc –  user34771 May 24 '10 at 21:50
    
is it a php-nuke site? –  Rook May 24 '10 at 22:35

2 Answers 2

www.site.com and site.com are different domain names. Usually they point to the same site, but that's not necessarily the case.

share|improve this answer
    
Yep, he certainly has a weird DNS configuration for this to happen. –  Anonymous May 24 '10 at 21:52
    
@nc3b How can solve this problem? –  Felicita May 24 '10 at 21:52

The www (world wide web) has nothing to do with it, it seems that at your side, there is url rewriting in place or some server settings in place disallowing you to use www part there by giving the message hacked. Please add more details so that we can answer better.

share|improve this answer