Here is the issue I am having:
I am using the Ubuntu ami-3e02f257 EBS-boot AMI (as seen on http://alestic.com/) to start an EC2 instance.
I then install Webmin (using apt-get install webmin) and Virtualmin (using the install script)
I then create a few virtual servers
After adding content, a virtual server (vs1) points to its home directory /home/vs1/public_html
So all seems normal here
I then backup my instance by creating an image (EBS Ami) from this instance.
I terminate current instance
I start a new instance based on my new EBS Ami
On this new EC2 instance, webmin, virtualmin and all virtual servers and their respective content are here (as expected)
... but all virtual server now point to default server (the one in /var/www) and Webmin acts as if there was no content in virtual servers (/home/vs1/public_html)...
Questions:
Why are all virtual servers pointing to default server on a new EC2 instance, even though their home folder does contain some content?
Can I deactivate this "redirect" to default server?
Comments
Submitted by gambit on Sun, 03/27/2011 - 09:40 Comment #1
It seems all is needed on new EC2 is to update virtual server settings with new instance internal IP...
Submitted by andreychek on Sun, 03/27/2011 - 11:02 Comment #2
Great, glad you got it working, thanks for the update!
Submitted by JamieCameron on Sun, 03/27/2011 - 11:17 Comment #3
Yes, if the IP of the instance changes you will need to adjust the IP of your virtual servers at Addresses and Networking -> Change IP Addresses.