so I had to move the server and change the IP address and put it behind a router. The external public address gets me to the router, then correctly to the server but then I get the /var/www/html index page rather than the default site I’ve set in virtualmin. In vm I’ve set the default site’s ip address to be the same as the new static address 10.10.x.x. The packets are getting to apache but somehow my vm config is wrong. I’ve changed my name server records. I can use vm on port 10000, ssh and ping are ok. I don’t know where else to look.
When your server is behind a router, you need to setup Virtualmin to make use of the “internal ip” rather than the “external ip” address.
After this, you port-forward incoming requests on port 80 (for Apache), and other ports respectively to point to this server.
external-ip => internal-ip
If you’re still having issues, feel free to email me for a FREE quick fix session.
ICMP works, SSH works, FTP works, port 10000 is open but the apache config is wrong, I don’t know why. Do I need to change every vhost separately to the new IP address? I’ve done some by hand but it’s not working and is tedious and error prone. I’ve looked at the virtualmin tools as far as I know where to look. Any suggestions? More places to look? Debugging info?
These services are not domain specific so they will work just by knowing how to reach the server.
Per my email, I’d be happy to schedule a moment to assist you via a screen-sharing session fix your problem FREE of charge. Once solved, you are welcome to publish the solution for others to reach here. In fact I’d encourage such.
*** Please understand, I am not taking this position out of ignorance, or to be mean, but so that I can delegate my already limited free time toward assisting multiple people rather than all my time on a single issue. ***