By optbookusa
I have the java play! application. To run play application no need of a webserver like apache. But i need run my application on VPS with the domain name like www.xxx.com, do I need web server?
If I have the multiple applications running on different http ports, how can i map those ports to my domain name; Example:
www.xx.com—> application running on port 9000
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
One option is to change the port number in the Play config to 80 from 9000 and map the www.xx.com to the server’s ip address. If there are more applications, a web server running on 80 can be setup to forward requests from 80 to 9000 and other ports for various URIs.
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.