codr
codr

Reputation: 1029

EC2 instance web server site as a subdomain of a Squarespace site?

I have a website on Squarespace: www.example.com

Squarespace doesn't allow custom code, so I developed a web app with advanced functionality on an EC2 instance that currently has an elastic IP address: 12.34.56.78.

Is it possible to connect the two in that the web app at 12.34.56.78 can be displayed when users visit webapp.example.com? Is that a subdomain?

Any help is appreciated.

Upvotes: 1

Views: 726

Answers (1)

user24702024
user24702024

Reputation: 11

You can use the "DNS IPv4 public" shown on the EC2 instance in the management console and create a CNAME entry in your Squarespace "DNS Settings" like the following:

square space dns setup

Upvotes: 1

Related Questions