dapurhosting.com Blog for Tech

October 19, 2018

The domain already exists in the userdata.

Filed under: cPanel/WHM — dh @ 2:22 pm

Tidak bisa addon domain dengan pesan error: The domain already exists in the userdata.

Pastikan dahulu tidak ada subdomain yang berhubungan dengan domain yang mau diaddon.

Lalu

grep domain.com /var/cpanel/users/*
grep -R domain.com /var/cpanel/userdata/*

Edit file/s that are found and remove domain name the customer is trying to add.

How to fix cPanel Domain already exists Error

January 22, 2018

cpbackup-exclude.conf

Filed under: cPanel/WHM — dh @ 8:15 am

cpanel backup exclued

buka atau buat file cpbackup-exclude.conf di home directory

public_html/
mail/.*
mail/abc.com/*/.Junk
mail/abc.com/*/.Trash
tmp/
backup*

September 4, 2017

xml-api cpanel

Filed under: cPanel/WHM — dh @ 2:23 am

Suspend outgoing mail

http://hostname:2086/cpsession/xml-api/suspend_outgoing_email?api.version=1&user=usercp

Unsuspend outgoing mail

http://hostname:2086/cpsession/xml-api/unsuspend_outgoing_email?api.version=1&user=usercp

January 31, 2017

Block domain for sending mail

Filed under: cPanel/WHM,Email — dh @ 9:42 am

touch /etc/blockeddomains
echo "domain.com" >> /etc/blockeddomains

Buka WHM > Exim Configuration Editor > Advanced Editor
Klik tombol Add additional configuration setting
Tambahkan

domainlist blocked_domains = lsearch;/etc/blockeddomains

Cari tulisan ROUTERS CONFIGURATION, setelah kode ini

democheck:
driver = redirect
require_files = "+/etc/demouids"
condition = "${if eq {${lookup {$originator_uid} lsearch {/etc/demouids} {$value}}}{}{false}{true}}"
allow_fail
data = :fail: demo accounts are not permitted to relay email

Tambahkan kode berikut

reject_domains:

driver = redirect
# RBL Blacklist incoming hosts
domains = blocked_domains
allow_fail
data = :fail: Connection rejected: SPAM source $domain is manually blacklisted.

ref: https://forums.cpanel.net/threads/how-do-i-block-one-domain-from-sending-email-from-my-server.223731/#post920912

November 16, 2016

Update cpanel theme to paper_lantern

Filed under: cPanel/WHM — dh @ 8:27 am

Update cpanel theme to paper_lantern

/scripts/pl_update_users

June 14, 2016

cPanel dan Webmail Forbidden di Litespeed

Filed under: cPanel/WHM,Securtiy — dh @ 2:55 pm

Whitelist rule id 981246 di whm > ConfigServer ModSecurity Control

August 2, 2015

Change cPanel Port

Filed under: cPanel/WHM — dh @ 6:31 am

You can change the cPanel port by editing this line in

pico /var/cpanel/cpanel.config

Cari

port=2082

Dan ganti ke port yang diinginkan lalu restart cpanel

service cpanel restart

April 21, 2015

Deleting mailman archives in cPanel

Filed under: cPanel/WHM — dh @ 4:33 am

(more…)

March 24, 2015

Ganti Port cPanel

Filed under: cPanel/WHM — dh @ 11:56 am

(more…)

October 20, 2013

Domain already setup

Filed under: cPanel/WHM — Tags: — dh @ 3:13 pm

Jika addon domain error dan muncul pesan sbb:

domain.tld is already configured. Sorry, the domain 'domain.tld' is already setup (remove it from httpd.conf with '/scripts/killvhost domain.tld', and be sure to excise it from /var/cpanel/userdata/)

Solusi:

Jalankan perintah ini:

grep -lR domain.tld /var/cpanel/userdata/*

jika muncul listnya, jalankan perintah dibawah ini untuk rebuild cache:

/scripts/updateuserdomains
« Newer PostsOlder Posts »

Powered by WordPress