Network or DNS issues

I’m in the process of migrating to Amazon EC2. I have backed up my sites from my previous VirtualMin and installed them on the new EC2 server.

However, none of my sites are visible externally.

When I ping a site, it returns the internal address for the server and not the public facing IP.

Attached is a screenshot of the network .

Here are the results of my re-check config

The status of your system is being checked to ensure that all enabled features are available, that the mail server is properly configured, and that quotas are active …
Your system has 3.45 GB of memory, which is at or above the Virtualmin recommended minimum of 256 MB.
BIND DNS server is installed, and the system is configured to use it.

Mail server Postfix is installed and configured.

Postfix can support per-domain outgoing IP addresses, but is not currently configured to do so. This can be setup in the Postfix Mailserver module.

Apache is installed.

The following PHP versions are available : 5.4.16 (/bin/php-cgi)

Apache is configured to host SSL websites.

MySQL is installed and running.

ProFTPd is installed.

Logrotate is installed.

SpamAssassin and Procmail are installed and configured for use.

ClamAV is installed and assumed to be running.

Plugin Protected web directories is installed OK.

Using network interface eth0 for virtual IPs.

Default IPv4 address for virtual servers is

Both user and group quotas are enabled for home and email directories.

All commands needed to create and restore backups are installed.

The selected package management and update systems are installed OK.

… your system is ready for use by Virtualmin.


It sounds like your DNS records may be using the internal IP for your server.

You can correct that by going into Server Configuration -> DNS Records.

There, make sure that they’re using the external IP address.

Also, in System Settings -> Virtualmin Config -> Network Settings, make sure that “Default IP address for DNS records” is set to “Automatically detect external address”.


Thank you.

That seems to have done it.

However, now at the top of the page I get

Warning - errors were found in this domain’s DNS records : The DNS record resolves to the IP address instead of the virtual server’s IP

Is that safe to ignore?


What is the correct IP address for the domain it’s mentioning? It sounds like it currently is set to resolve to the 54.x.x.x IP you mentioned, is that what you’d expect?


54.x.x.x is the external address and 172.x.x.x is the internal address.

Everything seems to be functioning properly other than the warning.

Ah, I may have had you do an unnecessary step above, there’s a better way to handle this particular circumstance.

What you can do is go into Server Configuration -> Change IP Address, and there, set the “External IP address” field to the “54.x.x.x” IP address.

That should resolve the warning you’re seeing.


Thank you! Fixed!