title: How can I change host Name for Apache tomcat server?
body: <p>I installed <code>Apache Tomcat 6.0</code>,I tested with simple Application it's working fine.but every time I calling my app with <code>localhost:8080</code> in the browser.</p>
  
  <p>I want to change host name(localhost) to something like <code>subbu</code>.for this I tried in the following way.</p>
  
  <p>I open command prompt and entered <code>drivers</code> and after selected <code>etc</code> folder, open <code>host</code> file .in this file I changed subbu instead of <code>localhost</code>.After did this I restarted my system and started <code>apache server</code> and entered in my browser like <code>subbu:8080</code>.it's not working.</p>
  
  <p>I hope,you understand what I faced problem.</p>
  
  <p>How can I resolve this.</p>