Now I have a second server (a newer one) with Virtualmin running. There I could add my second IP to "eth1" instead of a virtual interface to "eth0". Obviously it depends on the server hardware. My new server is a newer and bigger one.
But don’t forget to add, after you’ve set the address to the network, the second IP in Virtualmin --> “Addresses and Networking” --> “Shared IP Addresses”.
thanks, m8! I’ve tried your way… no luck
As I’ve said before, I have 2 IPs. The IP I want to use the separate domain is showing the corect site (should display an error now since is not installed) … but the domain is pointing to one site from the other IP (which now has 4 domain set up to use it and all working).
So, if the separate IPs are workimg, why the domain that hosts on the second IP points to a domain hosted on the other IP?
You’re right. I’ve just browsed the address through proxy.org and it shows the right site.
Directly, I still get the other IP.
I think that, in the end, the new DNSs haven’t already reached the ISPs from Greece (things works so slow here).
In other word, sorry for the fake alarm. Following your first tutorial works fine. With the second IP set up as virtual of the first one.
Thank you for this!
BTW, you might want to remove my link since, when it will be ready, will be an 18+ site - dunno if virtualmin.com wants to link to such content
Cheers!
Unfortunately I can't edit my post because of an old bug in this forum software: "Oops! You've hit a bug in the forum software. It'll be fixed soon."
Well, unfortunately, the forum software goes out of it’s way to be “difficult”. Not even the moderators can resolve that without actually deleting the post
But, it’s no biggy.
This is a forum for troubleshooting issues with web servers and web sites – we fully expect some links to them. It can make troubleshooting much easier when actually seeing the problem in real time!
So long as the post doesn’t appear to be spam (which this isn’t) and somehow relates to Virtualmin (which this does!), you’re in the clear!
-Eric
However, in the future, if I were going to add a second IP, I would either:
Go into Virtualmin -> Addresses and Networking -> Shared IP Addresses, and add it there if it’s meant to be shared
Or you could go into Edit Virtual Server -> IP address and interfaces, and add it as a Virtual Interface, which is private to that Virtual Server, if it’s intended to be just for that one domain.
Great explanation for a newbie like me to get a grasp of what Im getting myself into. Still a bit intimidating … especially when you start reading the webmin documentation.