Skip to content

Commit

Permalink
HTTPS instructions for CloudFlare (#574)
Browse files Browse the repository at this point in the history
* HTTPS instructions for CloudFlare

* Adding DNS configuration image

* Update HTTPS.md

* Update HTTPS.md
  • Loading branch information
ecowan committed Mar 25, 2022
1 parent 53d14c8 commit 9f8f7e2
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions deploy/HTTPS.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
# Cloudflare configuration

- Login to [Cloudflare](https://www.cloudflare.com/) and click "+ Add Site"
- Enter the domain name that will be used to host the site. (e.g. dpcreator.org)
- Choose a plan
- (Note: Currently using the "Free" plan for demo/dev sites)
- You will see a set of DNS records taken from the current registrar. Check these records against the registrar and make sure all the entries are there. Add any that are missing.
- Click continue
- Select "Full encryption"
- Scroll down and activate the switch that says "Always use HTTPS"


## DNS configuration

**DP Creator configuration**
For each subdomain, we need to decide if CloudFlare should route its traffic. A row for the domain dev.dpcreator.org should look like:

| Type | Name | Content | Proxy Status | TTL |
|-----------|---------|----------------|----------|---------|
| A | dev | (ip address) | Proxied | auto |

- Applies to: demo.dpcreator.org, dev.dpcreator.org

**Dataverse configuration**
For any subdomains which should not be routed through CloudFlare, they should be left as "DNS only" like so:

| Type | Name | Content | Proxy Status | TTL |
|-----------|---------|----------------|--------------|---------|
| A | demo | (ip address) | DNS only | auto |

- Applies to: demo-dataverse.dpcreator.org, dev-dataverse.dpcreator.org


The final DNS configuration should look like this:

![dns_record](dns.png)
Binary file added deploy/dns.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 9f8f7e2

Please sign in to comment.