This is definitely doable, given that I just asked it. Let me share the settings that I used in Cloudfront, Squarespace and Route53 to make it work. If you want to use a different DNS server than AWS Route53, you can adapt these settings. Keep in mind that this is not an e-commerce site, but a standard site with a block , static pages and forms . Most likely, you can adapt these instructions to other problems if they arise.
Cloudfront (CDN)
To do this, you need to create a Cloud Distribution for the Web .
Source Settings
- ext-cust.squarespace.com. Squarespace .
- .
- - , , , .
- .
/
- .
- HTTP HTTPS. , HTTP HTTPS. , , HTTP- HTTPS. : HTTPS HTTP, ( , ).
- HTTP GET, HEAD, OPTIONS, PUT, POST, PATCH, DELETE. , ( , , ) HTTP POST.
- HTTP GET, HEAD. .
- . , , , , "".
- , TTL, TTL TTL .
cookie - . . , Squarespace , . cookie: JSESSIONID, SS_MID, crumb, ss_cid, ss_cpvisit, ss_cvisit, test. .
: True, Squarespace API , .
- Smooth Streaming, , , , -.
/
- AWS WAF Web ACL .
- www, .
example.com, www.example.com. - SSL, , , IAM, , ( ), SSL , . , SSL HTTPS . , HTTPS.
- .
53 (DNS)
- Hosted Zone ( Route 53).
- A, Cloudfront.
- CNAME www, Cloudfront, ( Squarespace www)
Squarespace
Squarespace Settings->Domains->Connect a Third-Party Domain. . WWW, , www.example.com , example.com. , . DNS - CNAME, verify.squarespace.com. CNAME DNS 53 DNS-. , , , .
Cloudfront, Squarespace! , - DNS , , , ( ) .
, cookie, Chrome Inspector, , cookie Cookie . Cloudfront , Cookie , ( , , cookie). , , ( Cookie , , my_cookie=somevalue;other_cookie=othervalue — my_cookie other_cookie : ).
, . , - , , .
, cookie, Squarespace. ( ), / cookie, . , .
, !