I have installed the latest centos and virtualmin, everthing went great. My default website uses the default server ip address (from external range) and all works fine. I added 3 extra IP addresses in the server templates file, I then added a virtual server using a virtual inteface which picked up an unused IP address.
details as below.
IP address 93...* (Private to this server)
Virtual interface Remove now
Keep interface eth0:1
External IP address Same as real address (93...*) —same as above
I use zoneedit for nameservers and have added both the domains exactly the same.
I can connect to the first domain name and IP address okay. I cannot connect to the second domain name with the virtual interface.
If I type the IP address in I eventually get a no response message.
The following error was encountered:
•Connection to 93...* Failed
The system returned:
(110) Connection timed out
Just for information:
I have 4 public ip addresses, my adsl router is in bridge mode, I use 1 ip for my pc this works fine, another IP is on the linux box i can use this as a shared IP for domains okay. The next 2 IP’s are for alloction on the Linux box.
From ssh on my pc i can ping all ip’s. I got a friend to ping and got this below:
93...3 - no response - PC=okay
93...4 - average 60ms - linux box centos/virtualmin first install=okay
93...5 - no response - first server with virtual interface ???
I used “service ip tables stop” to test with no firewall (correct me if i have used wrong command) still nothing.
I installed nmap as advised in another post to test firewall. The default linux box IP shows ports open, the virtual ethernet port ip address shows this message:
Nmap done: 1 IP address (0 hosts up)
If i use virtualmin to access the server i can “review” the website - could it be the adsl router? the mac address of the server lan card was set to pass through to http in the router.
Yeah, it doesn’t look like there’s any firewall running on your server.
Can we go over the exact symptoms your seeing again?
From what I understand, your server has multiple IP’s.
The first IP works fine.
The second IP you can ping, but the website doesn’t come up?
What happens if you browse to that second IP in your web browser?
Also, if you go to intodns.com, and enter some of your domain names, does it show the DNS as being okay?
If that doesn’t help, you might consider temporarily listing the domain name and IP address here that’s giving you trouble, as well as one of the ones that’s working, so we can be of more assistance.
You can always edit your post and remove it once things are working.
I have 4 public ip address. My adsl router is in bridge mode - 1 ip assigned to router, 1 to pc, 1 to server build (linux) (this ip for shared domains) and 1 for virtual eth0:1(linux) this has 1 domain.
From inside house I can access everthing, from another location all except the eth0:1 ip address.
May be getting somewhere. After trying the command “ifup eth0” I thought I would try “ifup eth0:1” which is the virtual port that’s not working, and it worked I can now see the website from outside my internal network…
why could I see the website from internal network but not external until I ran this command?
When I add a virtual port do i have to edit some file to make the command ifup permanent.
Phew! I though I was the only one having this problem!. It seems that every ‘virtual ip adress’ I use isnt activated at boot time, even though I’ve told it too. Any ideas, becuase apart from this glitch I love VirtualMin