Linode Forum
Linode Community Forums
 FAQFAQ    SearchSearch    MembersMembers      Register Register 
 LoginLogin [ Anonymous ] 
Post new topic  Reply to topic
Author Message
PostPosted: Sat Jan 28, 2012 3:15 pm 
Offline
Newbie

Joined: Sat Jan 28, 2012 3:11 pm
Posts: 2
Hello the all!
I installed the tomcat in my server. However this pointing for ip:8080. I configure my DNS for my domain. But, when I access the my domain, will for ip and no for ip:8080

What do I do regarding this?

Thanks you a lot!


Top
   
PostPosted: Sat Jan 28, 2012 4:30 pm 
Offline
Senior Member
User avatar

Joined: Wed Mar 17, 2004 4:11 pm
Posts: 554
Website: http://www.unixtastic.com
Location: Europe
gsdev wrote:
Hello the all!
I installed the tomcat in my server. However this pointing for ip:8080. I configure my DNS for my domain. But, when I access the my domain, will for ip and no for ip:8080

What do I do regarding this?

Thanks you a lot!


DNS lists IP addresses but not ports. Setup your server to use port 80 or tell your clients to use ':8080' at the end of the URL. Putting your web server on port 80 is the better option.


Top
   
 Post subject:
PostPosted: Sat Jan 28, 2012 4:56 pm 
Offline
Senior Member

Joined: Sat May 03, 2008 4:01 pm
Posts: 568
Website: http://www.mattnordhoff.com/
If you already have a web server running on port 80, you can configure it to operate as a reverse proxy and direct certain subdomains or pages to Tomcat. See its documentation.

_________________
Matt Nordhoff (aka Peng on IRC)


Top
   
 Post subject:
PostPosted: Sat Jan 28, 2012 11:09 pm 
Offline
Newbie

Joined: Sat Jan 28, 2012 3:11 pm
Posts: 2
No I can understand. Please, can me pass more info ?


Top
   
 Post subject:
PostPosted: Sun Jan 29, 2012 10:03 am 
Offline
Senior Member

Joined: Fri Feb 18, 2005 4:09 pm
Posts: 594
DNS has nothing to do with ports - the main use of Domain Name Service (DNS) is to map domain names to Internet Protocol (IP) addresses. When DNS receives "linode.com" it maps that to an IP address like 72.14.180.202, for example.

Browsers then use the IP address to request web pages. If the request is http, such as http://linode.com, the request is made using port 80 by default. If the request uses https, such as https://linode.com, the request is made using port 443 by default and should be encrypted using Secure Socket Layer (SSL).

You can tell browsers not to use the default ports, for example http://linode.com:8080 - but there must be some software on the server listening for requests on that port or you will get no response.

One problem with using non-standard ports is that many firewalls, such as the outgoing firewall where I work, will block non-standard ports. For this reason you might be better off to use the standard port 80.

James


Top
   
 Post subject:
PostPosted: Sun Jan 29, 2012 3:46 pm 
Offline
Senior Member

Joined: Sun May 23, 2010 1:57 pm
Posts: 315
Website: http://www.jebblue.net
If you want Tomcat to run on 8080 but to be visible on 80 use Apache on 80 and use ProxyPass and ProxyPassRevserse to point to your Tomcat running on 8080.

http://httpd.apache.org/docs/2.1/mod/mod_proxy.html


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
RSS

Powered by phpBB® Forum Software © phpBB Group