Tomcat domain name configuration in linux, linuxtomcat Domain Name

Source: Internet
Author: User

Tomcat domain name configuration in linux, linuxtomcat Domain Name
I. configuration of multiple domain names
1: Change the default port 8080 to port 80, because port 80 is the default webpage port.
ConnectionTimeout = "20000"
RedirectPort = "8443" URIEncoding = "UTF-8"/>
2: copy the following content to/conf/server. xml.
UnpackWARs = "true" autoDeploy = "true">
3: Create a ROOT folder under/home/temobi,
4: copy the content in the temobi project under local tomcat to the/home/temobi/ROOT folder.
5. copy the host-manager folder and manager folder under tomcat/webapps to the/home/temobi folder.
Okay, you're done!
Ii. Single Domain Name Configuration
1: Change the default port 8080 to port 80, because port 80 is the default webpage port.
ConnectionTimeout = "20000"
RedirectPort = "8443" URIEncoding = "UTF-8"/>
2: copy the following content to/conf/server. xml.
UnpackWARs = "true" autoDeploy = "true">
3: delete the contents under tomcat/webapps/ROOT and put the folders in the local project under tomcat/webapps/ROOT.
Okay, you're done!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.