Search code examples
urllighttpdports

Typing in a URl without adding the port


I have set up a site with lighttpd. The hosting works fine, but I have to add a port to the end of the URL otherwise I get a blank page. Is there any way I can type the URL and get the page without the port?


Solution

  • When a port is not specified on the URI, port 80 is assumed (as stated in RFC 2616, item 3.2.2).

    Therefore, to get rid of the port - make sure your web server is listening on port 80.