Welcome to WebmasterWorld Guest from 50.16.112.199

Forum Moderators: Ocean10000 & incrediBILL & phranque

How to configure a port other than 80 in Apache

   
8:33 am on May 6, 2013 (gmt 0)

5+ Year Member



Hi everyone.
Can someone help me by pointing me to the right way of configuring a port other than the default one (80) in Apache for PHP applications? For instance something like http://subdomain.domain.gov.bi:8081/
How do I configure the 8081 port in Apache? Is it safe for a web application to use port 80?

Thanks for your great help

[edited by: phranque at 10:00 am (utc) on May 6, 2013]
[edit reason] unlinked url [/edit]

10:05 am on May 6, 2013 (gmt 0)

WebmasterWorld Administrator phranque is a WebmasterWorld Top Contributor of All Time 10+ Year Member Top Contributors Of The Month



you will need the Listen directive and probably willl need to do something with the VirtualHost container.

note that both of these directives require access to the server config.

Configuring Apache HTTP Server to listen on specific addresses and ports:
http://httpd.apache.org/docs/current/bind.html [httpd.apache.org]
 

Featured Threads

My Threads

Hot Threads This Week

Hot Threads This Month