Redirecting and changing protocol from http to https using CNAME

6,907

Your research is right. You cannot redirect with a CNAME because DNS does not work this way. You would need some sort of web server to accept the request and rewrite the URL to HTTPS.

Some domain registrars allow you to do a redirect on their web server if you use their name servers. DreamHost may provide this service but I have never used them so I cannot say.

Share:
6,907
Muhammad Raihan Muhaimin
Author by

Muhammad Raihan Muhaimin

Hi, I am a software developer who is passionate with Web, Big Data and Machine Learning. I am in love with building cool Web tools, play with Big Data and develop Machine Learning model to help people move forward. I am comfortable with **Data and ML Engineering with SQL, Python, Pandas, Scikit-learn, Apache Spark **, etc. To know detail about my experience please have a look at my resume I have worked as a Full Stack Software Developer from 2014 - 2017 and gained experience with both frontend and backend javascript. I have made a contribution to various open source library such as React-Native, Node-postgres, knex. I also gained hands-on experience in deploying and managing micro-service based software architecture at AWS. While I worked as a Software Developer I used various machine learning tools and api using python and javascript from which I got really interested in big data. From September 2017, I have started doing my master’s in big data at Simon Fraser University, Burnaby, BC. As a part of my program, I also did a four-month internship at IBM where I worked as a Machine Learning Engineer. During my master's degree and internship, I have become very proficient with tools like Scikit-learn, Pytotch, Python-pandas, Spark, Spark SQL, etc. I have also gained hands-on experience in data cleaning, data consolidation, entity resolution, feature engineering, model development, and validation. Currently, I am working for Thomson Reuters Canada I love anything challenging and I am looking for new challenges where I can contribute and learn a lot.

Updated on September 18, 2022

Comments

  • Muhammad Raihan Muhaimin
    Muhammad Raihan Muhaimin over 1 year

    Hi I bought a domain with dreamhost. example.com. Now I want to redirect it to one of my azure VM at https://example.cloudapp.net. Apparently it needed to change the protocole as well. Based on my research it can't be done using CNAME. Am I missing something? Is there any other method I can user to do that?