mixing * ports and non-* ports with a NameVirtualHost

MMarko

Well-Known Member
Apr 18, 2005
316
0
166
And ideas how to sort this "issue":

# service httpd restart
[Mon Aug 18 10:45:34 2008] [error] VirtualHost 12.73.33.41:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results

thanks
 

MaestriaNick

Well-Known Member
Aug 6, 2008
159
3
68
Usually, the port is 80, so the entry should be

VirtualHost 12.73.33.41:80


check for entries like 12.73.33.41:0 and replace it with 12.73.33.41:80, in the conf or in the included files
 

MMarko

Well-Known Member
Apr 18, 2005
316
0
166
I will check, but this seems like some default entry in httpd configuration file.

It is not inside virtual server configuration.
 

nrm

Member
PartnerNOC
Jan 11, 2007
16
0
151
Moscow, Russia
i have same problem but resolv it after inspect all <VirtualHost IP:Port> Directive, and 1 host do no have "Port" number exampleL

<VirtualHost 1.2.3.4>

just edit htpd.conf and fix this error

<VirtualHost 1.2.3.4:80>
 

natong

Well-Known Member
May 17, 2008
89
1
58
<VirtualHost 1.2.3.4>

just edit htpd.conf and fix this error

<VirtualHost 1.2.3.4:80>
Thank it works!

I faced the same problem. I think it came from cpanel update.
 
Last edited:

alex jose

Registered
Oct 29, 2007
4
0
51
india
face the same issue in 3 or cPnale server .

I have face the same issue in 3 or more cPanel server . but it not effcet the the apache service . just an error : "[error] VirtualHost Myip:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results "
It solved by chnage
<VirtualHost 1.2.3.4> change to <VirtualHost 1.2.3.4:80>.

Can any one tell how this error effect to our server ?
 

JawadArshad

Well-Known Member
PartnerNOC
Apr 8, 2008
459
7
68
PK
cPanel Access Level
DataCenter Provider
Thank it works!

I faced the same problem. I think it came from cpanel update.
If you made the change manually without running Apache distiller, the changes will be reverted.
I normally run '/scripts/rebuildhttpdconf' and this fixes the error.

I have face the same issue in 3 or more cPanel server . but it not effcet the the apache service . just an error : "[error] VirtualHost Myip:0 -- mixing * ports and non-* ports with a NameVirtualHost address is not supported, proceeding with undefined results "
It solved by chnage
<VirtualHost 1.2.3.4> change to <VirtualHost 1.2.3.4:80>.

Can any one tell how this error effect to our server ?
The error is self-explanatory, I have seen this error on multiple servers but it rarely does anything that fatally alters Apache service. I normally rebuild Apache configuration file with cPanel's script and it stops the warning.