These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Virtualmin on Amazon EC2- Wrong hostname+control panel does not load(timeout) on the new forum.
I just now finished installing Virtualmin via Automated Installation script on Ubuntu 10.04 on Amazon EC2 Micro instance.
There are 2 problems with my installation--
(1) The "hostname" command gives output as "ip-10-124-179-242"-- This is the hostname since beginning. The problem is that under Public DNS for this EC2 Instance, the value is given as "ec2-107-20-233-156.compute-1.amazonaws.com". Will this discrepancy in hostname and public dns values cause any problem?
(2) I tried logging into virtualmin at "https://ec2-107-20-233-156.compute-1.amazonaws.com:10000/" but I am getting timeout error. How to resolve this.
Regards, Arvind.
Howdy,
For question #1, some email servers can get a little cranky if your hostname and your reverse DNS aren't the same. I would make your hostname the same as the reverse DNS for your IP address.
For question #2 -- do other services on your server work? If you use the name "ec2-107-20-233-156.compute-1.amazonaws.com", can you access, for example, SSH?
If so, you may want to try restarting Webmin, just to make sure it's online:
/etc/init.d/webmin restart
Also, don't forget that EC2 requires you enable access for ports that you want to be remotely accessible. To do that, you can run this command on your server as root:
ec2-authorize default -p 10000
Hello
Kindly tell me how to obtain the reverse DNS for my IP address, by IP address are you referring to the Elastic IP address that I have assigned to this server?
Also, how do I change the hostname?
Also, I restarted webmin, and added the rule to enable access to port 10000, however even now I am getting timeout error.
Regards, Arvind.
To find out the reserve DNS hostname, you do
nslookup 107.20.233.156
. If you need to change it, you'll usually need to check if your hoster's control panel allows you to, otherwise a support request to have them change it for you can help.Hello
I am using hosting on Amazon EC2 Compute Cloud. In the control panel documentation, it clearly says that the "Elastic IP" assigned to a EC2 Instance, is different from a regular IP in some respects. So I am not sure if looking up the reserve dns will be of any help. Plus, I can assign new IPs to my instance also, from control panel. So the elastic IP can have any reserve DNS hostname assigned to it, since the elastic IP itself can be assigned to any instance, at any time.
Again, I am not sure if what I have written above holds true or not. So I did do a ns lookup-- and found that the return value is same as the public DNS given for my EC2 Instance (in Amazon Control Panel).
Public DNS: ec2-107-20-233-156.compute-1.amazonaws.com
Also, the hostname is given as "ip-10-124-179-242". What do I change it too, and how do I do that?
Regards, Arvind.