I have taken domain www.exampledomoain.com and www.sampledomain.com on Debian server server. on first domain [www.exampledomoain.com] i am running one application on port 80 now i i have install new second app for witch i want to use second domain [www.sampledomain.com] ,now second app is running on port 8080 so current URL will be www.sampledomain.com:8080
Now Problems: 1.) i am not able to make www.sampledomain.com:8080 to www.sampledomain.com only how to do that i don't have idea. 2.) Now i want to create dynamic host name like [www.username.sampledomain.com , www.username2.sampledomain.com] which should be redirect to www.sampledomain.com only is their any configuration file is their or i have to install some app.
Thanks in Advance