virtualmin seems to have forgotten primary ip-adress

2 posts / 0 new
Last post
#1 Thu, 11/16/2006 - 10:22

virtualmin seems to have forgotten primary ip-adress

hi there,

whenever i create a virtual-host i end up with a config-file like this:

<VirtualHost :80>

apache does not like it. :(

i cannot see the adress of the primary interface anywhere in th virtualmin menus. even "change ip adress" gives

current ip adress: <empty>

what can i do?


Thu, 11/16/2006 - 12:50
Joe's picture

Hey Gerhard,

This indicates that Virtualmin didn't correctly detect your IP address during it's Check Configuration step. I've seen a few users report this, but I've never figured out why it happens. At least some of them were running under some type of virtualized server (vserver, xen, etc.), but some were not, so it can happen even on a dedicated box. But I don't know why.

Try running the &quot;Recheck Config&quot; in the System Settings menu, and see if things begin to operate correctly.

If not, you'll need to manually configure the network settings for Virtualmin. In the &quot;Module Config&quot;, look in the &quot;Other server settings&quot; section&quot;. The option, in particular, you're looking for is: &quot;Network interface for virtual addresses&quot;. Set this to your preferred interface (probably eth0), and save it.

You may also have to fix the Apache NameVirtualHost section, as it probably also got created without an IP. You can either edit httpd.conf directly, or browse to the Apache module's &quot;Networking and Addresses&quot; page--the option there is labeled &quot;Addresses for name virtual servers&quot;, and you'd fill in something like (where should be replaced with your IP).

You'll need to run the Recheck Config step again after these changes.

I'd be curious to see what your network looks like, too. As I mentioned, I've seen about half a dozen users with this problem, but I've never seen it happen on my own test boxes. So I've never been able to figure out how to fix it!


Check out the forum guidelines!

Topic locked