# Deploying a Create-React-App Website to Netlify with HTTPS

Original: https://swyx.io/tutorial-on-deploying-a-create-react-app-website-to-netlify-418l
Published: 2019-07-03

> Tutorial on Deploying a Create-React-App Website to Netlify with HTTPS

## TL;DR

Click this:

<!-- Markdown snippet -->
[![Deploy to Netlify](https://www.netlify.com/img/deploy/button.svg?utm_source=blog&utm_medium=devto&utm_campaign=devex)](https://app.netlify.com/start/deploy?repository=https://github.com/netlify-labs/deploy-create-react-app&utm_source=blog&utm_medium=devto&utm_campaign=devex)

and click yes to everything!

## Is that it?

Yeah pretty much. This process creates a fork of <https://github.com/netlify-labs/deploy-create-react-app> (simply a site that has the output of `npx create-react-app deploy-create-react-app`) that you can then clone locally and edit. When you're done and `git push origin master`, your changes will be automatically redeployed.

## What do I get?

- [SSL out of the box](https://www.netlify.com/docs/ssl/?utm_source=blog&utm_medium=devto&utm_campaign=devex)
- Free [Custom Domains](https://www.netlify.com/docs/custom-domains/?utm_source=blog&utm_medium=devto&utm_campaign=devex) (you can buy a domain there or use one bought elsewhere)
- [Continuous Deployment](https://www.netlify.com/docs/continuous-deployment/?utm_source=blog&utm_medium=devto&utm_campaign=devex)
- [Redirects](https://www.netlify.com/docs/redirects/?utm_source=blog&utm_medium=devto&utm_campaign=devex#history-pushstate-and-single-page-apps) useful for Single-Page-Apps!

And [many more features](https://www.netlify.com/docs/welcome/?utm_source=blog&utm_medium=devto&utm_campaign=devex)

## Other ways to deploy

These [Deploy Buttons](https://www.netlify.com/docs/deploy-button/?utm_source=blog&utm_medium=devto&utm_campaign=devex) are merely one way to deploy to Netlify.

- **If you have an existing repo on GitHub/GitLab/BitBucket** you can simply [create a new site from that repo.](https://app.netlify.com/start?utm_source=blog&utm_medium=devto&utm_campaign=devex)
- **If you have a local project** you can use the [Netlify CLI](https://www.netlify.com/docs/cli/?utm_source=blog&utm_medium=devto&utm_campaign=devex) and run `netlify init` to initialize a site.
- **If you don't want to use Netlify's buildbot and continuous deploy** you can run your own build and directly deploy a folder to production with `netlify deploy --prod`

## Why?

This tutorial was made in response to [this Reddit thread](https://www.reddit.com/r/reactjs/comments/c8m8z0/tutorial_on_deploying_a_createreactapp_website_to/).
