Ubuntu 14.10 + VMin 4.10 = Wrong Vhost?

3 posts / 0 new
Last post
#1 Thu, 09/11/2014 - 01:54
mcian

Ubuntu 14.10 + VMin 4.10 = Wrong Vhost?

Hello,

after upgrading from Ubuntu 12 to 14 and bringing VMin to latest version i have a strange thing:

every time a add a new subserver, the vhost config file in /etc/apache2/sites-enabled/ is created like this:

<VirtualHost *:80>

But of course it should be created like this:

<VirtualHost x.x.x.x:80 [x:x:x:x::2]:80> (where x is the v4/6 IP)

I've checked DNS binding and more but can't figure out why this easy feature does not work anymore. I really need it a lot!

Any suggestions? Marc

Thu, 09/11/2014 - 09:03
andreychek

Howdy,

It sounds like that may be due to either having a NameVirtualHost line in /etc/apache2/apache2.conf which looks like "NameVirtualHost *:80", or that there's another VirtualHost in /etc/apache2/sites-enabled/ using "VirtualHost *:80", quite possible a default file names 000-default.

If you see a 000-default file, you can just remove it. If you see a "NameVirtualHost *:80" , you can comment that out.

-Eric

Thu, 09/11/2014 - 12:42 (Reply to #2)
mcian

Or, there WAS a file 000-default, deleted, but still: new subservers are still being v-configured to *.80, and not to the correct IP..

More suggestions?

Topic locked