Roberto1
May 22 2005, 06:48 PM
I've got a website on a dedicated server that has lots of extra capacity, so I'd like to use the extra capacity to do virtual hosting for other domains/users. I'd like to use Plesk for this, and also migrate my existing domain/IPs/etc to be a pleskified domain. However, the server is currently plain redhat, with no control panel at all.
Is there any sort of documentation/how-to anywhere for how to migrate to Plesk from an existing non-control-panelled server? This would entail migrating the IP addresses, Apache config, php config, mysql, postfix, etc. All the "migration" info I can find is for migrating from other control panels. As its a live server I'd like to limit any downtime of course.
Also from what I understand, ev1servers can install a fresh Enterprise redhat with Plesk on a secondary disk, switching it to primary when you have loaded your data. Can Plesk run against a specific disk? Ie. could I use it to configure the secondary disk before its swapped to primary?
Thanks for any info or ideas!
seannyob
May 7 2006, 11:51 AM
Roberto1,
I'm doing this from a vanilla Debian stable box. There aren't any documents for experienced systems administrators (that i have found) so you have to fly by night, as it were.
Things to keep in mind:
- Permissions, permissions, permissions. You need to figure out the proper owners of your files on the plesk server; the permissions requirements are not standard *nix ones.
- Create your clients and their domains in plesk. Make databases & database users for them in Plesk. Migrate your sites from your old server to the new apache dir, which will be located in /var/www/vhosts/example.com/httpdocs (or httpsdocs for the secure stuff) Permission to serve the files requires psaserv as the group at least.
- Running CMSes or other web software requires special configuration sometimes. Software that supports multiple sites from a single codebase, such as Drupal, in particular is a challenge. I created /var/www/vhosts/drupal, added a drupal user and added psaserv to that group, then pointed each drupal site via symlink (httpdocs links to /var/www/drupal) Double check your permissions and ownerships.
- Create your mail users in plesk. Then migrate your Maildirs or mboxes to /var/qmail/mailnames/example.com/name Permissions are
CODE
popuser:popuser
- You can edit httpd.conf settings by vhost, see this thread http://forum.ev1servers.net/showthread.php...ight=httpd.conf