Sub domain connect to AWS EC2 Instance

0

Hello,

I am having a domain and sub-domain with 3rd party service provider, and one ec2 instance, How can I connect my ec2 and my sub-domain so that when users visit my sub-domain they get redirected to my ec2?

I need help in 3 terms

  1. In which way, It can be done for free?

  2. In which way, It can increase my website load and working speed?

  3. In which way, It can increase the speed and functioning as well as security?

질문됨 일 년 전420회 조회
1개 답변
0

Hi, you can manage the subdomain name by another DNS provider to have the one that you exactly want as long as you do proper remapping via CNAMES

See https://support.dnsimple.com/articles/differences-between-a-cname-alias-url/ and https://ie.godaddy.com/help/edit-a-cname-record-19237 (for Godaddy but similar for other DNS providers)

You will just have to remap the public dns name (under amazon domain) of your ec2 instance to your cname of choice.

on your 3 points:

  • remapping the amazon domain name of your instance to your own subdomain is free
  • this will have no impact on workload and site working speed. The initial name lookup with your subdomain may be a few ms longer because it will go your subdomain alias -> amazon name -> amazon ip instead of just the last 2 but it will happen only once and in usually unperceptible from user standpoint
  • the security of your instance is unchanged: you will do same security definitions on it independently of dns remapping or not
profile pictureAWS
전문가
답변함 일 년 전
profile picture
전문가
검토됨 일 년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠