
     
  |
|
   
|
|
|
How to disable a Virtual Host?
|
|
|
|
Answer
|
If you are an Computer House reseller, you may experience a situation where your customer may not be paying on their hosting account with you. Since Computer House has a virtual hosting solution, you can disable accounts that are virtually hosted on your IP address. If you have a virtual host that has not paid their bill, here is what to do.
- FTP into your site.
- Go to the /www/htdocs directory.
- Create a directory named 'disabled'.
- Create an HTML page that states "Account disabled" or whatever you wish, and upload that HTML file into that directory. Ensure that you name the file index.htm or
index.html.
- Next, go up a directory and into the /www/conf directory.
- Once inside, download the httpd.conf file in ASCII mode. If you are unsure if you are doing this correctly, please contact Computer House Customer Support to ensure that you are. Any errors may cause problems to your website as well.
- Open the httpd.conf file in a simple text editor, such as notepad, or vi.
- Find the entry at the bottom of the file for that virtual host, and replace the entry that looks like this:
DocumentRoot /usr/local/etc/httpd/htdocs/virtualhostcom
With the entry that looks like this:
DocumentRoot /usr/local/etc/httpd/htdocs/disabled
- This will ensure that your virtual host does not use their website via http when they are not paying for it.
- To disable email, you can either remove their POP and alias accounts, or delete the aliases and redirect their mail to your default mail drop.
If you have any questions, or concerns about editing your configuration files, then please contact Computer House Customer Service.
|
Back to Index
|
|
|
The Computer
House Technology Center, Inc.
740 South Sixth Avenue
Galloway, New Jersey 08205
(800) 372-6834 --- FAX: (609) 748-9776
Copyright © 2001
Computer House, Inc. All Rights Reserved. |
|