httpd.conf servername

Discussion in 'Apache' started by ozkorallah, Jan 5, 2009.

  1. #1
    I have a server with 5 IP address and I'm going to host 6 sites, my problem in appache configration file what servername i should give?

    is it my real server name, my prime IP address?

    thank you
     
    ozkorallah, Jan 5, 2009 IP
  2. John Mccuire

    John Mccuire Peon

    Messages:
    46
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    Its your real server name aka hostname for the main httpd.conf
    Inside virtualhost directives ServerName equals the domain for which you configure the vhost.
     
    John Mccuire, Jan 5, 2009 IP