dns - Route53 Subdomain Creation with IP address and Port Number -


we using route53 aws service create sub domain our hosted zone. have instance running on amazon server elastic ip. once create route53 record of type can assign elastic ip of our instance. map apache default page port 80 used default port given ip address.

in our scenario have multiple services running on same instance , want use service runing on port 8153. our requirments map port automatically our subdomain. when type "ci.yyyyy.com" automatically map service running on 8153 port. these steps should done using terraform scripts.

is there way map ip address , port number sub domain? suggestion , comments appreciated.

thanks

this not belong route53 can achieve using reverse proxy in front of servers. e.g use squid in front of webserver , redirect based on domain name url. in squid can achieve using cache_peer_access

see question see pretty nice diagram

edit: propose squid here, can find other reverse proxy tool, nginx example if prefer


Comments

Popular posts from this blog

SVG stroke-linecap doesn't work for circles in Firefox? -

routes - Laravel 4 Wildcard Routing to Different Controllers -

cross browser - XSLT namespace-alias Not Working in Firefox or Chrome -