Help with Apache

Discussion in 'Apache' started by tester_geniusd, May 1, 2006.

  1. #1
    hello

    I am try setup Apache for port 81. But it not work
    i am write in httpd.conf:

    <VirtualHost *:81>
    ServerAdmin
    DocumentRoot /www/docs/test-site
    </VirtualHost>

    and it not work:(

    Kind regards,
     
    tester_geniusd, May 1, 2006 IP
  2. Matts

    Matts Berserker

    Messages:
    195
    Likes Received:
    10
    Best Answers:
    0
    Trophy Points:
    108
    #2
    Not a pro about this, but I think you also need to add a Listen directive too.
     
    Matts, May 1, 2006 IP
    madkad likes this.
  3. Slapyo

    Slapyo Well-Known Member

    Messages:
    266
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    108
    #3
    in the httpd.conf look for "Listen 80" and change that to "Listen 81" then find "ServerName" and look a few lines below that you should see "ServerName www.blahblah.com:80" ... change the 80 to 81.
     
    Slapyo, May 2, 2006 IP
  4. theblight

    theblight Peon

    Messages:
    246
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    0
    #4
    A double post

    Change Listen 80 to
    Listen 81

    another thing is test it on the browser by entry

    www.sitename.com:81

    and that should work..
     
    theblight, May 3, 2006 IP