I am hosting my main site on ec2 let’s say instance1, my domain is from go daddy so i put Cloudflare nameserver on go daddy. now i have another installation on ec2 let’s say instance 2 and it is a subdomain. instance 1 and 2 have different IP’s how can i point my subdomain to instance 2?
which records should i change in AWS and in Cloudflare to achieve this?
In general you only need to make an A record for the subdomain, set the IP to instance 2’s IP address, and make sure the cloud is AWS shouldn’t require any configuration as long as the instance’s VPC doesn’t block Cloudflare IP addresses.
it’s done.
thanks
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.