StéphanS
Regular Pleskian
Say that you want to give a site a new IP, eg. for SSL purposes.
But you don't want the site to get interupted longer than a few seconds,
and the TTL for the domain is set horribly high.
The fix for this would be:
then:
Note that Plesk will overwrite these changes once it reconfigures the domain.
You could chattr +i /usr/local/psa/admin/conf/vhosts_bootstrap.conf
But I strongly suggest against doing this on a shared webhosting server.
Would Parallels be able to allow Plesk to assign multiple IP's to 1 domain?
This would make transitions to dedicated IP for SSL purposes so much easier!
But you don't want the site to get interupted longer than a few seconds,
and the TTL for the domain is set horribly high.
The fix for this would be:
Code:
Switch the IP for the site in Plesk to the new (dedicated) IP.
then:
Code:
/usr/local/psa/admin/sbin/httpdmng --reconfigure-domain <domainname>
cd /var/www/vhosts/[system/]<domainname>/conf/
grep -v '^#' last_httpd.include | sed '1s@^@\n\n\n\n\n\n\n\n\n\n@;s@<new_ip>@<old_ip>@g' >> last_httpd.include
service httpd restart
Note that Plesk will overwrite these changes once it reconfigures the domain.
You could chattr +i /usr/local/psa/admin/conf/vhosts_bootstrap.conf
But I strongly suggest against doing this on a shared webhosting server.
Would Parallels be able to allow Plesk to assign multiple IP's to 1 domain?
This would make transitions to dedicated IP for SSL purposes so much easier!