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

Found My Clone Discourse Website on another domain
(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


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.

(Hakan) #13

I use Cloudflare premium SSL. These are my mistakes today. My site, and clone my not understand domain

(Jay Pfaffman) #14

You might check this topic: Using Cloudflare, should the Name Server use Cloudflare settings, or stick with the host servers settings?

(Hakan) #15

There is no problem with my settings my friend.

(Sam Saffron) #16

My friend there clearly is something wrong with your settings cause your HTTP should redirect to HTTPS with HSTS headers.

This is why we recommend using our official SSL support and not cobbling up hacks

(Hakan) #17

Okey i try, How will the settings be?

(Cameron:D) #18

It’s got nothing to do with CloudFlare, it’s to do with your SSL configuration on the server, or lack of. You need to follow the guides here to enable letsencrypt on your server, then that other site will stop working, or redirect to the correct url.

Once that’s done you can also change CloudFlare to full/strict SSL mode.

(Hakan) #19

full/ strict mode on but my site gives a 502 error cloudflare.

(Cameron:D) #20

Because you need to enable let’s encrypt first.

Full/strict makes it use a secure/SSL connection between CloudFlare and your server. The lower options just use a plain unencrypted connection. Because you haven’t enabled let’s encrypt (or some other form of SSL) on your server CloudFlare can’t establish a secure connection so will give an error.