I am hosting a web app on amazon aws, using an ec2 instance.
On that instance i will be running only one application. using glassfish v3.0.1
I do not want to run the app using :
www.mydomain.com:8080 or www.mydomain.com:8181
I just want to use :
www.mydomain.com or https://www.mydomain.com
so i changed the http-listener-1 and http-listener-2 on glassfish to run on ports (respectively) 80 and 443.
Is this considered bad practice? i'm a software engineer and I usually do not deal with server admin stuff thus not too experienced in those things.
thanks for any guidance.