These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for webmin+virtualmin - new virtual server = new problem on the new forum.
Hi all !!
I've a problem with my vps, i've installed cent0s + webmin and virtualmin.
All seem to be corrected installed, and works.
But when I create a new virtual server, in etc/httpd/conf/httpd.conf there's a problem
NameVirtualHost 85.94.198.XXX:80 NameVirtualHost [85.94.198.XXX]:80 <----------------------problem
there's a duplicate entry of my ip, and i must correct manually to work correctly.
Every time i create a new virtual servers, overwrite the httpd.conf and i must correct this
Howdy,
Hmm, so just to clarify, are you saying that every time you add a new Virtual Server, it adds a new line containing this:
NameVirtualHost 85.94.198.XXX:80
It definitely shouldn't be adding new NameVirtualHost lines, those should only be added in the case where the IP being used doesn't exist.
-Eric
hi,
NameVirtualHost 85.94.198.xxx:80
NameVirtualHost [85.94.198.xxx]:80
ServerName...................
Howdy,
I see two things I'd change in your Apache config.
First, I'd recommend commenting out this line:
NameVirtualHost [85.94.198.xxx]:80
Second, I'd change this line here:
<VirtualHost *>
So that it reads like this:
<VirtualHost 85.94.198.107:80>
After that, restart Apache.
Once you do that, does that correct the issues you've been seeing?
-Eric