Reseller external IP

I have an AWS instance with 2 external IP's (one main, one reseller). I have the external IP set in the DNS configuration, but I don't see a way to set the reseller's for the 2nd IP. When he creates a new server, I have to manually set the DNS records. When I try to validate I get

"resolves to the IP address x.x.156.208 instead of the virtual server's IP x.x.160.178"

However if I restore a domain from the old server (I am in the process of migrating), I don't get this error and the IP restores to the correct external IP. I don't know what I am missing

Status: 
Closed (fixed)

Comments

This could be a little tricky to support in Virtualmin, as presumably your EC2 instance also has two internal IPs (on the 10.x.x.x network) as well ... each of which maps to an external IP?

Correct, there are 2 internal and 2 external. I found where I can manually enter the external IP under Edit Virtual Server, but if there were a way that could be an automatic setting, it would help

So you can set a per-reseller IP address for new domains as follows :

  1. Add the internal IP as a shared address on your Virtualmin system, at Addresses and Networking -> Shared IP Addresses.

  2. Go to System Settings -> Reseller Accounts -> some reseller -> IP address and DNS options.

  3. Enter the internal IP in the "Shared addresses for any servers" field.

  4. Create a new domain as the reseller - it should get assigned the specified IP. However, the external address used in DNS records will not be automatically chosen. Instead, you have to enter it in the External IP address field.

Thank you Will the external address be a feature at some point?

Yes - I will update this bug once that has been added.

This has been implemented for inclusion in Virtualmin 4.01.

Because you're awesome!!! Thank you

Automatically closed -- issue fixed for 2 weeks with no activity.