Seema Alevoor wrote: > >>>> >>>> >>> But I think it is common to define ServerName inside a VirtualHost. Why >>> should it be commented ? >>> >>> >>> >> I am not sure, what do you mean by 'common'. Since, we don't know what >> > > By 'common' I mean "widely used". > > >> the actual host name is going to be at the customer end, this could be >> simply commented out and customer can enable it. Please note >> 'ServerName' is not a required value. >> > > It is not a required value but a recommended one. Apache doc says > "For optimal reliability and predictability, you should specify an explicit > hostname > and port using the ServerName directive.For optimal reliability and > predictability, > you *should* specify an explicit hostname and port using the ServerName > directive." > > >> Setting 'ServerName' to loop back IP address is definitely not the right >> thing to do. >> > > Again, localhost or 127.0.0.1 for ServerName, is also widely used. > > > Seema If you have done some testing to ensure that setting it to loopback address is not causing any issues even in virtual hosting environment , then I have no problem
- sriram
