我有這個域名'suaparte.org',我有網站在這裏運行在EC2 http://50.19.242.172:8080/SuaParte/我想重定向'suaparte.org'到http://50.19.242.172:8080/SuaParte/。如何將主機名重定向到ec2實例?
亞馬遜provied公共DNS來我的彈性IP:ec2-50-19-242-172.compute-1.amazonaws.com
我認爲這只是把這個公共DNS在我的hostname供應商,但我奇怪,他怎麼知道重定向到http://50.19.242.172:8080/SuaParte/? 而不是我在glassfish中部署的其他項目?