Subdomain Redirection Problem

Hello, I am having problem with my subdomain, I added A record in DNS section but when I choose DNS only it loads website but remove HTTPS from URL and I choose Proxied it redirects to the main site instead of the subdomain, anyone knows how to fix it?

#CommunityTip

Hi @barwalrules,

Do you have anything set up under ‘page rules’ in your dashboard?

No, anyway I was able to fix it.
Here is how I did it.

  1. Disabled .htaccess file in root folder
  2. Created an Origin Certificates available under SSL/TLS tab and installed it in my sub-domain in hosting server

That fixed the redirection problem and also now sub-domain is loading with HTTPS :slight_smile:

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