Is it possible to redirect https to http using dns?

12,072

No, for this use case, DNS has no functionality other than to map names to IP addresses. There is no way to redirect https to http via DNS.

You should contact Shopify support to see if they are able to provide SSL support for your site.

Share:
12,072

Related videos on Youtube

PJ.
Author by

PJ.

I make beer and websites.

Updated on September 18, 2022

Comments

  • PJ.
    PJ. over 1 year

    I asked this on SO, but this might be a better forum?

    I just switched a domain from a custom site to a shopify site. The custom site used SSL, and any customer who has gone to the site in Chrome most likely has https saved in their history.

    Since the user attempts to access one url, but the site is actually coming from shopify's servers, Chrome throws the big red error warning the user that the site is probably not the site they meant to access.

    Is there any way, using DNS, to redirect all https attempts to http? Or another solution to prevent this error?

    • PJ.
      PJ. almost 11 years
      To those downvoting, help me be a better member of this community by explaining why?
  • Matthew
    Matthew over 8 years
    For better or worse, given the fact that many dns providers support domain forwarding/url redirection (they terminate the connection on their own web server and issue a 3xx [which they fake an A record for in DNS]) in their dns control panels, I can understand why people think dns has redirect functionality.
  • Rob Moir
    Rob Moir over 5 years
    "HTTP 301 Redirect" - so not a redirect via DNS like the question asked for, then?
  • Chirag Arora
    Chirag Arora over 5 years
    The only reason I suppose the user asked for DNS redirection was latency that would have otherwise crept in due to meta redirect. This inbuilt Cloudflare feature offers the same level of latency as that of regular DNS name resolution. So it serves the purpose. I think this is the best answer to kind of question the asker asked. No need to downvote.