Have you developed your own blog system? Small webapp?
What if I don't want to buy a domain name to buy a space?
Teach you how to make your computer a small server and allow Internet computers to access your website (Project)
Step 1: first download "peanut shell" software, software: http://www.oray.com/peanuthull/download.php
Step 2: Install and register an account to apply for a free domain name xxx. xxx
Step 3: Go to the tomcat directory and find conf. xml for modification (xxx. xxx here is the domain name you applied ):
<Host name = "xxx. xxx" appBase = "webapps"
UnpackWARs = "true" autoDeploy = "true"
XmlValidation = "false" xmlNamespaceAware = "false">
Step 4: Modify conf. xml (here xxx. xxx is the domain name you applied)
<Engine name = "Catalina" defaultHost = "xxx. xxx">
Step 5: Go to the vro to set the Virtual Server
Forwarding rules --> virtual server --> Add new entries
Service port: (XX-XX or XX)
IP Address:
Protocol:
Status:
Service port: 8080 (mainly to be the same as the tomcat port. If you say that the port number in tomcat is set to 80, it is also set to 80)
IP Address: the IP address of your local machine
Protocol: all
Status: Effective
Step 6: restart tomcat and enter xxx in the browser. xxx: 8080 (if the port number is 80, you do not need to enter the port number). If the tomcat homepage is opened, it is OK. You can publish your project to tomcat and access your project through the internet!