Page 1 of 1

AH00548: NameVirtualHost has no effect

Posted: Wed Jun 24, 2015 5:46 pm
by Fleuv
The following occurs to me when restarting apache2. I'm running a "clean" installation of Vesta on "Ubuntu 14.04.2 LTS".

A better view of what actually happened:

Code: Select all

$ sudo service apache2 restart
 * Restarting web server apache2
AH00548: NameVirtualHost has no effect and will be removed in the next release /etc/apache2/conf.d/1.2.3.4.conf:1
[ OK ]
Listing content of the file pointed to by the message:

Code: Select all

NameVirtualHost 1.2.3.4:8080
Listen 1.2.3.4:8080
NameVirtualHost 1.2.3.4:8443
Listen 1.2.3.4:8443
Questions:
  1. What is a proper fix for solving this?
  2. What is the meaning of the 1.2.3.4.conf (MyIP.conf) file?

Re: AH00548: NameVirtualHost has no effect

Posted: Thu Jun 25, 2015 10:01 am
by skurudo
Try to use VirtualHost not NameVirtualHost .