Tomcat doesn't work after changing DNS Hostname

Support for webhosts that use CentOS
Post Reply
Posts: 1
Joined: 2011/02/16 03:27:10

Tomcat doesn't work after changing DNS Hostname

Post by sandiago1988 » 2011/02/16 04:48:49

Right now, my website runs on http://localhost:8080/bla. I was just wondering, what will be the steps in which I will need to take in order to change it so that I can view it by entering

I tried to change the hostname at the DNS tab in System-> Administration -> Network, and it doesn't seem to work.. (Big suprise). I'm thinking there is more to it than that right? Can anyone enlighten me?

Cheers in advance.

Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Tomcat doesn't work after changing DNS Hostname

Post by gerald_clark » 2011/02/16 15:40:37

Welcome to CentOS.
New users should read: must resolve to the IP address of your http server,
of to the address of your port forwarding router.

You should really take this up with your domain name registrar, as they will
have nameservers that can point to your ISP assigned static IP address.

If you have a dynamic IP address, look into a service such as

Retired Moderator
Posts: 18276
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: Tomcat doesn't work after changing DNS Hostname

Post by pschaff » 2011/02/17 21:53:59

Another thing to check is whether your ISP allows you to run a web site at your service level. Many block the ports for standard services for non-commercial accounts. You also need to be sure the ports are open in the firewall, and if behind a NAT router, that the ports are forwarded to the server.

Post Reply

Return to “CentOS 5 - Webhosting Support”