|
[ Getting
Started ] [ Server
Help ] [ Add
on Help ] [ Solution
] [ Trouble Shooting ]
PLEASE NOTE, THIS IS VERY OLD ARCHIVE
INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS
Tips for Upgrading to a New FreeBSD Virtual Server
Many of our longstanding Virtual Server customers have already begun
Upgrading to a New FreeBSD Virtual Server.
For many
this process has been very simple and quick due to their previous experience
with the Virtual Server. We have, however, put together a few tips
below that you should be sure to check while upgrading your account to
FreeBSD. Also, please check back from time to time, as we will be posting
additional tips as needed in the future.
- You will need to move all of your web site content to the new shadow account.
Normally this would include any files in the following two directories:
~/usr/local/etc/httpd/htdocs
~/usr/local/etc/httpd/vhosts
This would include all of your web pages,
graphics and any additional content accessible via the World Wide Web. In
addition, many people have used this opportunity to do a "spring cleaning"
of their Virtual Servers.
- You will want to re-create any POP/IMAP or FTP users with their
appropriate passwords, quotas and permissions. You can re-create these
while connected to the Virtual Server via
Telnet or SSH
or by using iManager.
- As you are moving to a new Virtual Server you will need to take care while moving
all of your aliases, spam blocks, or virtmaps to the new Virtual Server. If you do not
currently utilize any of these features, you won't need to take any
action regarding this step.
If you do utilize these features, one easy way to move these would be to
upload the appropriate files below to the new shadow server (in ASCII mode).
These files are found in the ~/etc directory on your Virtual Server.
After moving the files you will need to run the corresponding commands
below to update the appropriate information on the new shadow Virtual Server.
FILE COMMAND
----------------------------
virtmaps vnewvirtmaps
aliases vnewaliases
spammers vnewspammers
- You will need to have an entry into your ~/etc/sendmail.cf file for each
domain you host on your Virtual Server. This would include your main
domain name, along with any Virtual Subhosts you might have on your Virtual
Server.
The additional domain names should be listed on the Cw line following the
localhost entry. You will notice from the example below that the domain
names are simply separated by a space. For example:
Cw localhost bob.com jim.com steve.com jill.com
Please note that each Cw line should be no more than a few lines. If you
have numerous domain names you may always created additional Cw lines in
your ~/etc/sendmail.cf for listing the additional domain names.
- If you are upgrading from an older BSD/OS Virtual Server to a new FreeBSD
Virtual Server you may likely have three different configuration files
(httpd.conf, access.conf, srm.conf). Ideally, you should focus on using
the single ~/www/conf/httpd.conf file which now has features for accommodating what
was previously done in the other two configuration files. In the
~/www/conf/httpd.conf file you need to specify your Virtual Subhosts along with other
features you wish to use on the new FreeBSD Virtual Server.
PLEASE NOTE, THIS IS OLD ARCHIVE
INFORMATION AND MAY NOT FUNCTION ON NEW SERVERS
|