• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

IP Address Changes when Amazon EC2 Restarts

ArtZ

New Pleskian
I am testing Plesk 10.4.4 on Amazon EC2. When the instance restarts, the IP address changes. The amazon_setup_ip command (which was present in previous versions of Plesk) does not exist in Plesk 10.4.4.

What is the recommended procedure for updating everything in Plesk after an Amazon EC2 instance restarts? I need to do at least the following:

* Reload IP addresses
* Change the new IP address to shared
* Assign the new IP address to all subscriptions
* Assign the correct SSL cert to the new IP address
* Change the default web site for the IP address
* Remove the old IP address

In case it matters, I am running Ubuntu 10.04LTS, 64 bit.

Thank you,
-- Art Z.
 
Last edited:
Hm.. Plesk 10.4 wasn't really designed for dynamic IP addresses. Does Amazon offer any way to get a Static?

No. You can have a static public IP address but the internal IP address, the one on which all traffic arrives and the one which the web sites have to be assigned to, changes.

-- Art Z.
 
Any word, Parallels? What do you suggest? Older versions of Plesk included a amazon_setup_ip command but it is missing from 10.4.4.

I ran a script with these commands and it seems to fix the problem but I would love to hear your thoughts on the issue.

#!/bin/bash
ipaddr=$(ifconfig eth0 | awk -F '[ :]+' '/inet addr/ {print $4}')
mysql -uadmin -p$(cat /etc/psa/.psa.shadow) -e "update psa.IP_Addresses set ip_address='$ipaddr' where main='true'"
/usr/local/psa/admin/bin/httpdmng --reconfigure-all

Thank you,
-- Art Z.
 
Back
Top