Menu

#4504 It is confusing having two places to change a virtual server's IP address

1.710
closed-fixed
nobody
None
5
2014-11-11
2014-11-09
No

It is possible to change a virtual server's IP address in two places and both do different things. It is listed first in Edit Virtual Server > Configurable Settings and also in Server Configuration > Change IP Address. In Edit Virtual Server this only changes the DNS records, but does not change the virtual server's web server records to use the new IP address, so essentially this just makes the server unavailable. These two places should be combined into one place that will handle both the DNS and the server configuration settings as it is unlikely someone will want the DNS point to somewhere that isn't even configured to serve that domain on that IP and port. I changed a server in Edit Virtual Server and wondered why it didn't update the Apache configuration file and had to Google how to change the server's IP the "right" way.

Also, only slightly related to this, the HTTP/HTTPS port settings under Server Configuration > Change IP Address should be moved to something more logical as well, such as website options. This has little to do with the server's IP address.

Discussion

  • Jamie Cameron

    Jamie Cameron - 2014-11-10

    The reason these are separate is that the option on the Edit Virtual Server page controls ONLY the DNS records, and is designed for use when the system is behind a NAT gateway. However, in most cases you only need to make the change on the "Change IP Address" page.

     
  • Mike Robinson

    Mike Robinson - 2014-11-10

    Thanks for the reply, Jamie. I still think that to avoid confusion they should somehow be combined. I eventually figured it out, but if I was confused about it, I'm sure I'm not the only one.

     
  • Jamie Cameron

    Jamie Cameron - 2014-11-11

    Agreed, it is confusing. I will try to fix this up before the next release.

     
  • Jamie Cameron

    Jamie Cameron - 2014-11-11

    This has been changed for the 4.13 Virtualmin release.

     
  • Jamie Cameron

    Jamie Cameron - 2014-11-11
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB