Announcement

Collapse
No announcement yet.

apache on other port than 80

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    apache on other port than 80

    Hello,
    I'm coming back to ubuntu after 4 years. So I'll be around here again.

    Question: I'm gonna buy me a machine for ubuntu 10.4 server together with xfce.
    I'm gonna set up that machine as web / fileserver.
    I'd like it to run together with the windows pc that is currenty running apache at port 80.
    What do I do to setup apache in ubuntu on another port to test while the windows pc is still serving at port 80?
    Is that just a matter of changing htppd.conf?
    Greetings from Groningen Netherlands

    #2
    Re: apache on other port than 80

    Mods,
    this is the same question as this one:

    http://kubuntuforums.net/forums/inde...33.0;topicseen

    Registered Linux user #346571

    Comment


      #3
      Re: apache on other port than 80

      vinny@desktop:/etc/apache2$ ls
      apache2.conf envvars magic mods-enabled sites-available
      conf.d httpd.conf mods-available ports.conf sites-enabled
      check out the ports.conf and read the top

      VINNY
      i7 4core HT 8MB L3 2.9GHz
      16GB RAM
      Nvidia GTX 860M 4GB RAM 1152 cuda cores

      Comment


        #4
        Re: apache on other port than 80

        The internet is full of http servers all using the same port (80), and there is no conflict! Why do you need a different port?

        I have http servers on a number of machines within my lan and that works fine too. One server even has half a dozen "sites" on the same IP, just like commercial shared hosting. Apache is made to do that very easily because of that need. Perhaps I'm missing something.

        Comment


          #5
          Re: apache on other port than 80

          What you are missing is that I have to tell my router the network ip that traffic on port 80 gets send to, and that can only be 1 machine.

          Originally posted by Ole Juul
          The internet is full of http servers all using the same port (80), and there is no conflict! Why do you need a different port?

          I have http servers on a number of machines within my lan and that works fine too. One server even has half a dozen "sites" on the same IP, just like commercial shared hosting. Apache is made to do that very easily because of that need. Perhaps I'm missing something.

          Greetings from Groningen Netherlands

          Comment


            #6
            Re: apache on other port than 80

            I see, a special router setup - got it. I just use a normal router here, so no problem. I use IPs and names without having to worry about ports, like on the internet. Anyway, I guess you found the ports.conf file and got it working now.

            Comment

            Working...
            X