Web Hosting Talk







View Full Version : Deleting parked domains?


anto
06-14-2001, 12:47 PM
Hi,

One of my clients wants me to create an account
which uses a parked domain to his previous account.

So, I did the following (using WHM):
- Delete the Zone File for the parked domain
(hence delete /var/named/domain.com.db file)
- Create a new account using the parked domain
as domain for the new account.
- Restart the Name Server (BIND)

But when I browse (http) to the parked domain, it still
points to my client's previous account.

Where did I do wrong? Why the parked domain still
points to the old account?

Thanks for your advice.

Anto.

Mark Vockler
06-14-2001, 02:17 PM
Go to the following file:

/etc/httpd/conf/httpd.conf

Now find the <VirtualHost> directive for your client's earlier account. Within that you'll find a line that looks like the following:

ServerAlias newdomain.com *.newdomain.com

Delete that line, save the file, and restart Apache.

Mark Vockler
Aletia Hosting