Removing a Virtual Host

At some point you may wish to remove a virtually hosted domain from your Freedom account. In order to do so, some changes must be made both to our network and to your Freedom account.

  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.web.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 email address for your account; otherwise, we will not be authorized to remove the domain file from our name servers.

  1. Next, run the vrmvhost command at your account's command prompt:

> vrmvhost

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:

Removing domain

Removed

The vrmvhost command does not remove the virtual host's home directory. If you wish to remove these, you will need to do so manually.

IMPORTANT NOTE: As stated in the instructions for the vaddvhost program, You must restart Apache before the changes will take effect. To restart Apache, use the following command:

> apachectl restart

For more information about the vrmvhost command and what it actually does, please read the next section.