*Solved* Post installation wizard issue

Here is an interesting file:

Default Server	Any	Any	Automatic	Automatic	Open..
	Virtual Server	Any	80	Automatic	/var/www/vhosts/	Open..
	Virtual Server	209.208.24.242	80	scoutfishing.com	/home/scoutfishing/public_html	Open..
Select all. | Invert selection.

When I created the domain through virtualmin, I had specified the IP as being 209.208.24.243. I have since gone in and manually edited this in this file. I have also edited the other virtual server to have it’s files go to /home/.

Before either Webmin or Virualmin were installed, I had bound a range of IPs to this server through /etc/network/interfaces.

[code]root@epsilon:/home/scoutfishing/public_html# cat /etc/network/interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

auto eth0 eth0:1 eth0:2 eth0:3 eth0:4 eth0:5 eth0:6 eth0:7 eth1 eth1:1 eth1:2 eth1:3 eth1:4 eth1:5
iface eth0 inet static
address 209.208.24.242
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
gateway 209.208.24.241
iface eth0:1 inet static
address 192.168.2.120
netmask 255.255.255.0
network 192.168.2.1
broadcast 192.168.2.255
iface eth0:2 inet static
address 209.208.24.244
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth0:3 inet static
address 209.208.24.246
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth0:4 inet static
address 209.208.24.248
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth0:5 inet static
address 209.208.24.250
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth0:6 inet static
address 209.208.24.252
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth0:7 inet static
address 209.208.24.254
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth1 inet static
address 209.208.24.243
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth1:1 inet static
address 209.208.24.245
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth1:2 inet static
address 209.208.24.247
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth1:3 inet static
address 209.208.24.249
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth1:4 inet static
address 209.208.24.251
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
iface eth1:5 inet static
address 209.208.24.253
netmask 255.255.255.240
network 209.208.24.240
broadcast 209.208.24.255
[/code]

I want to use 242 and 244 as “shared” Ips for domains that won’t have a secured portion to them. I want to use all the other IPs for specific domains. I believe I found this option in Virtualmin when I created this. Unfortunately, when I went to check it in DNS, it shows THIS:


Name	TTL	Address
	scoutfishing.com.	Default	209.208.24.242
	www.scoutfishing.com.	Default	209.208.24.242
	ftp.scoutfishing.com.	Default	209.208.24.242
	m.scoutfishing.com.	Default	209.208.24.242

Name	TTL	Address
	localhost.scoutfishing.com.	Default	127.0.0.1
	webmail.scoutfishing.com.	Default	209.208.24.242
	admin.scoutfishing.com.	Default	209.208.24.242
	mail.scoutfishing.com.	Default	209.208.24.242

OK, I edited the all the zones I could find, rebooted the server and ITS WORKING! :slight_smile:

Here are a few additional questions that I have:

How do I assign Domains to a specific IP that I have previously bound. Do I need to register them?

How do I restart bind through Webmin or Virtualmin? I could not find this. In fact, is there a way to restart any of the services through Webmin/Virtualmin? If so, how?

Howdy,

You can setup IP addresses as being shared in Addresses and Networking -> Shared IP Address.

Also, if you have a given domain you want to using a specific non-shared IP address, you can set that by selecting the domain in question from the drop-down on the top-left, then going into Server Configuration -> Change IP Address.

How do I restart bind through Webmin or Virtualmin? I could not find this. In fact, is there a way to restart any of the services through Webmin/Virtualmin? If so, how?

Click the System Information link on the bottom-left, and look for the section labeled “Status”. In there, you’ll see a list of many of the services Virtualmin controls. You can start, stop, and restart them from there.

-Eric

Again, thanks for your tremendous help! The website is working perfectly. I have bought a book on Webmin by Jamie Cameron, the creator. Does he have a companion book for Virtualmin?

Sorry, there’s no Virtualmin book… though that’s an interesting idea :slight_smile:

-Eric