homepage Welcome to WebmasterWorld Guest from 54.204.64.152
register, free tools, login, search, subscribe, help, library, announcements, recent posts, open posts,
Pubcon Website
Home / Forums Index / Code, Content, and Presentation / Apache Web Server
Forum Library, Charter, Moderators: Ocean10000 & incrediBILL & phranque

Apache Web Server Forum

    
How to configure a port other than 80 in Apache
dbarasuk




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

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]

 

phranque




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

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]

Global Options:
 top home search open messages active posts  
 

Home / Forums Index / Code, Content, and Presentation / Apache Web Server
rss feed

All trademarks and copyrights held by respective owners. Member comments are owned by the poster.
Terms of Service ¦ Privacy Policy ¦ Report Problem ¦ About
© Webmaster World 1996-2014 all rights reserved