- Newest
- Most votes
- Most comments
Hey there, it looks like you are wanting https://mydomain.com to point to your new WordPress site and want https://mydomain.com/myapp to point to your new load balancer.
To do this, you can point mydomain.com to an API Gateway. You’ll be able to set up the API Gateway to direct traffic from mydomain.com/myapp to the load balancer and have the rest of the traffic sent to your WordPress site’s IP address. This can be a bit costly depending on the amount of traffic you are expecting to receive, so alternatively if you do not want to set up an API gateway, you can use Route53 to configure mydomain.com to point to your WordPress site’s IP address and change mydomain.com/myapp to the subdomain myapp.mydomain.com instead, where it will then be pointed towards your new load balancer. Additionally, please make sure to update your website’s certificate to include this new subdomain as well.
For more information, please refer to these links below:
API Gateway
https://repost.aws/knowledge-center/api-gateway-application-load-balancers https://docs.aws.amazon.com/apigateway/latest/developerguide/how-to-method-settings-console.html
Route53
https://docs.aws.amazon.com/Route53/latest/DeveloperGuide/dns-routing-traffic-for-subdomains.html
Relevant content
- asked 6 years ago
- asked 5 months ago
- AWS OFFICIALUpdated 8 months ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 2 years ago
- AWS OFFICIALUpdated 6 months ago