My Subdomain was integrating to wrong way?

Hi i have integrate my Subdomain to cloudflare using “cname” & “a” record. The problem was my all integrated subdomains are redirect to another website which hosted on same server.

Please help!
Thanks in Advance.

That may be an issue with how your server is configured. If you set that subdomain DNS record to :grey:, does it work?

Wow it will work. But site looking unsafe “Your connection is not private”. Do you suggest any solutions?

Without seeing it for myself, it sounds like that subdomain doesn’t have an SSL certificate.

I’m trying this thing… (.htaccess)

RewriteEngine On
RewriteCond %{HTTP_HOST} ^ [NC]
RewriteCond %{SERVER_PORT} 80
RewriteRule ^(.*)$ /$1 [R=301,L]

AGAIN HAVE ISSUE !! OPPS !! :slightly_frowning_face: :crying_cat_face:

Not Found

The requested URL was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

Since that subdomain is set to :grey:, that error is completely on your server and needs to be fixed before you set it back to :orange:.

Your connection is not private

This server could not prove that it is ; its security certificate is from . This may be caused by a misconfiguration or an attacker intercepting your connection.


This topic was automatically closed after 31 days. New replies are no longer allowed.