I am running an AWS EC2 Linux instance with Elastic IP a.b.c.d.
and I am hosting two different websites on it:
- ServiceA: http://a.b.c.d/serviceA
- ServiceB: http://a.b.c.d/serviceB
I have purchased the following domains: serviceA.com
and serviceB.com
and I would like to assign them to the proper hosting path. I found how to do it with URL redirect. Is there a way to do it through DNS configuration?