See whether a DNS change has propagated when you don't have command line access.
When you move your WordPress site from one host to another without any content changes it can be difficult to know which host is serving the site. How can you easily tell whether the DNS changes have propagated? Here’s an easy way.
The server IP address will be different between the old and new host. If you are on a desktop or laptop computer you can do a ‘nslookup example.com‘ on the domain to see what IP address the domain is pointing to, but this is not so easy on a mobile or tablet device.
I use a tiny plugin and install it to the wp-content/mu-plugins directory. This plugin will be automatically active without having to log into the server.
The server IP is an easy one to display and it is helpful to include the expected value, for those of us that don’t learn off IP addresses for fun.
You could also add conditions to the function e.g. only add the comment/text when a user is logged in or limit it to specified IP addresses.
When you are sure that the DNS changes have propagated you can FTP back into your site and simple delete the file.