Follow Techotopia on Twitter

On-line Guides
All Guides
eBook Store
iOS / Android
Linux for Beginners
Office Productivity
Linux Installation
Linux Security
Linux Utilities
Linux Virtualization
Linux Kernel
System/Network Admin
Scripting Languages
Development Tools
Web Development
GUI Toolkits/Desktop
Mail Systems
Eclipse Documentation

How To Guides
General System Admin
Linux Security
Linux Filesystems
Web Servers
Graphics & Desktop
PC Hardware
Problem Solutions




The Unofficial Ubuntu Starter Guide
Prev Home Next

Q: How to change the default port number for Apache HTTP Server?

  1. Read General Notes
  2. Read How to install Apache HTTP Server for HTTP (Web) Server service?
  3. e.g. Assumed that new port number is 78
  4. sudo cp /etc/apache2/ports.conf /etc/apache2/ports.conf_backup
    sudo gedit /etc/apache2/ports.conf
  5. Find this line
    Listen 80
  6. Replace with the following line
    Listen 78
  7. Save the edited file (sample)
  8. sudo /etc/init.d/apache2 restart
  9. https://localhost:78
The Unofficial Ubuntu Starter Guide
Prev Home Next

  Published under the terms of the GNU General Public License Design by Interspire