Virtual Private Server User Guide
The Apache Web Server
6) pkgadmin
7) mysqladmin
v) virtual host groups
x) Exit
Please pick a type of user to add, or select x to exit:
x
>
As a member of this group, "rusty" can now edit those files that are owned by the
group and are group write able. This allows him to update and upload files
through FTP, Samba, or from the user shell.
Removing a Virtual Host
At some point you may wish to remove a virtually hosted domain from your VPS
server. In order to do so, some changes must be made both to our network and to
your VPS server.
1. First, visit the following URL to notify our DNS Support Team that you are no
longer hosting the domain, so that we can correct the information in our
network:
http://support.interland.com/
You will need to specify the main domain name of your account, as well as the
domain name of the virtual host you are removing. You must also provide the
Contact Name and e mail address for your account; otherwise, we will not be
authorized to remove the domain file from our name servers.
Next, run the vrmvhost command at your VPS server's shell prompt:
> vrmvhost
You are asked if the virtual server you are removing is a SSL
host. Answer Y or N.
You are presented with a list of domains on your virtual server. Select the number
associated with the domain you want to remove. If you do not want to remove any
domains at this time, enter "0." Upon entering a selection, you are asked to
confirm the choice. Enter "y" to confirm or "n" to exit. If you confirm, the server will
respond as follows:
VirtualHost Removed Successfully!
Apache needs to be restarted.
Run apachectl restart or use vadmin to do so.
The vrmvhost command does not remove the virtual host's home directory or any
of the files that are contained in it. If you wish to remove these, you will need to do
so manually.
For more information about the vrmvhost command and what it actually does,
please read the next section.
Technical Training Department
August 2004
6 19