httpd:How to add another port for webhosting

Let’s say somehow client want the webservices to be hosted at the different port of default *:80.
Just add the following :
into /etc/httpd/conf/httpd.conf

#Listen 12.34.56.78:80
Listen 80
Listen 8080

and… if you have virtual host setting ..

just ammend as follows :


        DocumentRoot "/opt/ZZZ/station/docroot"
        DirectoryIndex index.php index.html
        SetEnv BINLOGGERBASE /opt/ZZZ
        SetEnv ZZZBASE /opt/ZZZ
        SetEnv VERSION 1.064.cos5


        DocumentRoot "/opt/ZZZ/station/docroot"
        DirectoryIndex index.php index.html
        SetEnv BINLOGGERBASE /opt/ZZZ
        SetEnv ZZZBASE /opt/ZZZ
        SetEnv VERSION 1.064.cos5

Related Post

3 Responses

  1. Joey says:

    Hi there would you mind stating which blog platform
    you’re working with? I’m looking to start my own blog
    in the near future but I’m having a difficult time making a decision between BlogEngine/Wordpress/B2evolution and Drupal. The reason I ask is because your design and style seems different then most blogs and I’m
    looking for something unique. P.S Apologies
    for being off-topic but I had to ask!

    Reply
    • Namran Hussin says:

      Hi Joey,
      At the moment am using wordpress as my blogging platform.
      So far am I feel comfortable with it.

      I did tried few other platform before but doesn’t last long
      Enough for me to know inside out about each one.

      Hopefully that would help.
      Thanks for dropping by.

      Reply
  2. recycled business card paper says:

    Hello! I simply want to give an enormous thumbs up for
    the nice info you will have here on this post. I might be coming back to your blog
    for extra soon.

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *