Home
> Apache, CentOS, configure, Fedora, How To, Linux OS > How to change the default port number for Apache HTTP Server
How to change the default port number for Apache HTTP Server
We all know that as default the Apache HTTP Server will ping to port number 80 . What we have to do when a situation of changing this post number comes? Lets see some simple steps for this…
1. Assume that your new port number is 78
2. cp /etc/httpd/ports.conf /etc/httpd/ports.conf_backup
3. vi /etc/httpd/ports.conf
4. Find this line – Listen 80
5. Replace with the following line – Listen 78
6. Save the edited file
7. /etc/init.d/httpd restart Apache HTTP server, Linux
Categories: Apache, CentOS, configure, Fedora, How To, Linux OS
apache centos, Apache HTTP, Apache HTTP port number change, Apache HTTP server, Apache HTTP server linux, Apache server port, centos apache, centos apache httpd, centos http, centos port number, change apache server port, change apache server port linux, how to change apache server port, how to change apache server port linux, how to change apache server port number, http port centos, HTTP server, httpd centos.https centos, linux httpd
Hi thanks a lot for a perceptive post, I actually found your blog by mistake while looking on Goole for something else closely related, anyhow before i ramble on too much i would just like to state how much I enjoyed your post, I have bookmarked your site and also taken your RSS feed, Once Again thanks for the blog post keep up the good work.
Thanks for share buddy