Here is the situation -
I want to create a subdomain sub.xyz.com which should point to the IP(XX:XX:XX:XX) of my AWS EC2 instance without affecting the main domain pointing to the website created through wix.com.
Things I did, but did not work -
name = sub.xyz.com,
record type = A-IPv4 Address,
TTL=300,
Value = XX:XX:XX:XX (IP of EC2 instance),
Routing policy = Simple
Route 53 provided 4 new nameservers which I think if I update on godaddy then it will not point domain name xyz.com to the website hosted by wix.com
I do not have much knowledge about AWS and domain/subdomain routing.
After trying and as commented by Dusan above, creating 'A' record for "sub.xyz.com" in WIX resolved the issue.