title: How to resolve localhost:8443 to alias URL like "https://mydev.example" in my local Tomcat
body: <p>I have successfully setup SSL in my local Tomcat at port 8443 with a certificate I generated locally for dev purposes. It is working fine.</p>
  
  <p>In my <code>/etc/hosts</code> file I have entries:</p>
  
  <pre><code>127.0.0.1  mydev.example  mydevsecure.example
  </code></pre>
  
  <p>I can access my app by typing in:
  <code>https://mydevsecure.example:8443/myApp/myPage.jsp</code>   [https]
  OR 
  <code>http://mydev.example/myApp/myPage.jsp</code>     [http]</p>
  
  <p>What I want is to be able to type: <code>https://mydevsecure.example/myApp/myPage.jsp</code></p>
  
  <p>I want to lose typing the port number 8443 in my browser. </p>
  
  <p>I can't specify port number in /etc/hosts file that I am aware of.</p>
  
  <p>What other solutions are there?</p>