I have recently uploaded a server with node js in my AWS environment and added a HTTPS listener in my load balancer. Also generated a certificate using ACM(AWS certificate manager) for my google domain and added it in HTTPS Listener. Added .ebextensions folder to upgrade Websocket in Proxy server. I have no Idea how can I connect my domain to my beanstalk app which url is something like "myapp.region.elasticbeanstalk.com" so that I can connect as "wss://MyGoogleDomain.com". Can you guys help me? I am new to this.
\$\begingroup\$
\$\endgroup\$
1
-
\$\begingroup\$ Slightly confusing what you're asking for. Your google domain is just the domain name? And you want your AWS env assigned to the domain? I assume your node is on EC2? \$\endgroup\$Mobile Ben– Mobile Ben2019-09-05 18:27:28 +00:00Commented Sep 5, 2019 at 18:27
Add a comment
|
1 Answer
\$\begingroup\$
\$\endgroup\$
Steps to host your domain on AWS EC2 :
- Create a hosted zone in route53
- Create record set with Alias name(your beanstalk URL)
- In your domain hosted zone you will get some Nameservers
- Copy those one by one and paste them google domain settings
You should be able to connect now. :)
Caution : Route53 charges some fraction of money every month even if you are on free tier