Other domain names are pointed to my IP address?


(Hakan) #1

2 months ago I installed the system, Ubuntu 16 install instructions on this link on the installation.

Today I looked at google webmaster tools, internal links, and I saw a few sites that my site was a clone. The opposite sites seemed to be using my rope.

How can this happen, the ip address of these sites is the same as my ip address.

Dediacted with the place where I bought it said to me to use these codes, but I do not know how to use it, can you help me How can we fix this weird situation?

RewriteEngine On
RewriteCond %{SERVER_PORT} !=443
RewriteRule ^ https://oyuncum.com%{REQUEST_URI} [NS,R,L]

(Richard - DiscourseHosting.com) #2

Your site is not hacked. Anyone can point a hostname to your IP address. This is almost 100% a coincidence, your IP was probably previously being used by these sites.

Those sites are not cloned either, it’s just other names pointing to your forum.

The code you got is a piece of Apache config, you cannot use it with your setup.

Actually, I wouldn’t worry too much about this. You will not get duplicate content because Discourse inserts canonical meta tags everywhere (except for the home page).


(Hakan) #3

the bottom pages and posts of those sites are the same, it would be bad for me to get a google index. So it can affect me in terms of seo. How can we solve this situation


(Jeff Atwood) #4

HTTPS prevents anything like this from happening. So, turn on HTTPS.


(Hakan) #5

I’m already using CloudFlare for https


#6

Have you turned on “Force HTTPS” setting? If you don’t do that I believe it will accept traffic from http as well with obvious results …


(Jeff Atwood) #7

Cloudflare is not real HTTPS.


(Jay Pfaffman) #8

You need to have https turned on at your server, not at an intermediate site that is proxying traffic to your server.

You could conceivably use firewall rules to disallow allow access to your site from IPs that are not Cloudflare. As long as accessing your site via its IP number returns data, you will be susceptible to this problem.


(Hakan) #9

Always HTTPS ON.
And my DNS setting show image.

All settings are OK, what is missing


(Kane York) #10

Follow the instructions here:


(Hakan) #11

I am using CloudFlare for both cdn and dns settings. Do not have a solution for Cloudflare


(Cameron:D) #12

If you follow those instructions and set up Let’s Encrypt all the other domains will redirect to your real one (or give SSL errors), rather than continuing to be duplicate content.