Unparked domain still showing?

glenn0

Well-Known Member
Jul 23, 2012
67
2
8
cPanel Access Level
Website Owner
Hi, hope you can help.

I have a number of domains parked on a single domain. I have noticed that if I unpark one of the domains, it still works fine when accessing through the browser. Why is this?

Is there anything I can do so the unparked domains stop routing immediately?

Thank you.
 

glenn0

Well-Known Member
Jul 23, 2012
67
2
8
cPanel Access Level
Website Owner
Hi, thanks for the reply. I have tried clearing cache and using separate browser - still showing. I wonder if there is a WHM cleanup process that runs intermittently?

Thanks for any input..
 

NOC_Serverpoint

Well-Known Member
Jul 3, 2016
103
7
18
cPanel Access Level
Website Owner
Hi,

You can use the following command to flush your cache memory

[email protected] [~]# echo 1 > /proc/sys/vm/drop_caches

In order to remove cached memory on every hour the cron job will run this command and clear any memory cache that has built up.

create file to clear cache memory

vi /root/clearcache.sh

and paste the following commands.

#!/bin/sh
sync; echo 3 > /proc/sys/vm/drop_caches

save and add this script in your cron job.

0 * * * * /root/clearcache.sh

Regards,
 

glenn0

Well-Known Member
Jul 23, 2012
67
2
8
cPanel Access Level
Website Owner
Hi,

You can use the following command to flush your cache memory

[email protected] [~]# echo 1 > /proc/sys/vm/drop_caches

In order to remove cached memory on every hour the cron job will run this command and clear any memory cache that has built up.

create file to clear cache memory

vi /root/clearcache.sh

and paste the following commands.

#!/bin/sh
sync; echo 3 > /proc/sys/vm/drop_caches

save and add this script in your cron job.

0 * * * * /root/clearcache.sh

Regards,
Thank you very much - great information.

I cleared the cache but it didn't cure my problem however, weird. I wonder if the site itself could route this without the parking being in place? It is a wordpress multisite setup that uses domain mapping.

I'm unsure of the technicalities though, so if anybody could deny/confirm, great.
 

glenn0

Well-Known Member
Jul 23, 2012
67
2
8
cPanel Access Level
Website Owner
Hi Michael,

I think you're misunderstanding my question. I'm not changing how the domain is configured at my domain registrar at all, so IntoDNS and the like WILL still show it pointing to my server.

The domain name in question is currently parked on another domain via WHM. I have removed the 'parking' but the domain in question is still being routed as if it is still parked. As mentioned I have cleared cache etc. as outlined above.

I look forward to hearing from you.
 

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,880
2,258
463
The domain name in question is currently parked on another domain via WHM. I have removed the 'parking' but the domain in question is still being routed as if it is still parked. As mentioned I have cleared cache etc. as outlined above.
Look for any entries associated with this domain name in /usr/local/apache/conf/httpd.conf with a command such as:

Code:
grep $domain /usr/local/apache/conf/httpd.conf
You may also want to verify if a DNS zone for this domain name still exists, and delete if it does, via:

"WHM Home » DNS Functions » Delete a DNS Zone"

If no entries exist, then it's likely related to the issue discussed on the URL from my last post:

can I stop someone from displaying my website on his domain?

Thank you.