apache - Block "cloner" servers rendering content from our server -


i have website of mine (freeofficefinder.com) being cloned (see here: thelawyerserviceratings.org) there on 25 websites cloning our website.

obviously hurting our seo ranking due "duplicate content". there add apache config file ensure our website rendered @ domain freeofficefinder.com. , other domains blocked?

as can see, web server configured serve same virtual host requested server name.

example:

# telnet freeofficefinder.com 80 trying 78.109.169.208... connected freeofficefinder.com. escape character '^]'. / http/1.1 host: blablabla.com  http/1.1 200 ok date: wed, 10 jun 2015 15:54:24 gmt server: apache/2.4.12 (ubuntu) x-powered-by: php/5.5.9-1ubuntu4.9 set-cookie: device_view=full set-cookie: phpsessid=qbe8aar8b58ckr9nvlqbnsdgd2; expires=wed, 10-jun-2015 16:54:30 gmt; max-age=3600; path=/ cache-control: max-age=0, public, s-maxage=604800 x-content-digest: en7c017d952f04b31ac9f09a61d0ed6561fd153e3549cdf743cbb277e2db847bab content-length: 17105 age: 0 set-cookie: device_view=full; expires=thu, 09-jul-2015 23:00:00 gmt; max-age=2531130; path=/; httponly vary: accept-encoding content-type: text/html; charset=utf-8  ... content ... 

this means, can set a-record web server ip (78.109.169.208) , site work on domain. cause use asterisk * servername through apache configs, find servername , serveralias directives, having * value, , replace * actual host name (freeofficefinder.com).

then add 1 <virtualhost> section above yours , set servername * it. special section serve requests unknown domains "thelawyerserviceratings.org" etc. can put there funny content.


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -