Finding all subdomains of any specific domain (DNS afxr)
It is possible to get list of all subdomains of any domain name. However, that must be allowed by the DNS Server. This is called AXFR.
Step One: Getting authoritative nameserver(s) from linux shell
dig domainname.com
Now check the output in authority section. Let assume it is ns1.somehost.com. Now use the dig command as follow:
dig @ns1.somehost.com domainname.com axfr
If [...]
Delete some specific files from all subdirectories
Useful unix-command trick to quickly remove i.e. Thumbs.db files, WS_FTP.LOG files or *.fla files, recursively through directories.
It could be a real pain on a huge directory tree
Removing all *.fla files from /home/user/ and subdirectories…
find /home/user/ -name \*.fla -ok rm {} \;
Removing all WS_FTP.LOG files from /home/user and subdirectories…
# find /home/user -name WS_FTP.LOG -ok [...]
Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings.
Today I found this error while trying to open Fantastico page in cPanel.
Fantastico is not installed at the default location /usr/local/cpanel/3rdparty/fantastico. Either move the Fantastico directory from it’s current location to /usr/local/cpanel/3rdparty/fantastico OR enable ioncube loaders in WHM -> Tweak settings.
Though I did not do this in my case, if you are facing same problem, [...]
Error from park wrapper: yourdomain.com is already configured
Today while fixing a domain, I received an error in cPanel. Whenever I try to add an addon domain, I get the saying: Error from park wrapper: mydomain.com is already configured.
[Original domain is not shown]
I found that in httpd.conf there is no such entry. However, there is a DNS zone for this domain [...]
Limiting CPU Usages in Linux using cpulimit
You might have already know how to check the CPU usages of any process. However, worried about any process consuming too much CPU? You should know, you can control the CPU usages of any process by CPU limiter. cpulimit is a free software to limit the CPU of any process. Here is the excepts from [...]
cPanel JailShell, Unmount and Clean Virtfs
If you’re a sysadmin of Cpanel server, you might be aware of the JailShell. Its nothing but a User Shell with limited privileges. Users requesting for shell access to the webhosting server are provided with such shell instead of bash (Which provides root level privileges to users) .
Jailshell limits the users access to their home [...]
fork: resource temporarily unavailable ???
If you are getting Linux error message, Resource temporarily unavailable, it’s because your system is limiting the number of files / processes / CPU that your particular user ID can use.
If you use WHM/Cpanel, enabling the “Shell fork bomb protection” can make the “Resource temporarily unavailable” message appear more often. You may get rid of [...]
Opening ports in the firewall for the Mail Server
There are standard ports that are used to access most services.
For example, accessing a website generally uses port 80 for normal (HTTP) web pages and port 443 for secure (HTTPS) pages.
Smtp
Smtp generally uses port 25 for connections although there are recommendations for port 587 (see the official documentation for details).
Pop and pops
Pop and [...]
Installing Shoreline firewall (Shorewall) in RHEL
Shorewall is the common name for the Shoreline firewall, a “wrapper” for IPTables that will handle all the heavy lifting for you by simplifying the tasks. This article will get you started, showing you how to get Shorewall on your system.
Installation
Now then, I have good news and bad news for you. The bad news [...]
How to edit DNS zone (A, CNAME, TXT) in cPanel (not in WHM) as End User (Domain Owner)
Recently cPanel Inc. introduced Simple and Advanced DNS Zone Editor for the domain owner (server’s end user). It was introduced for cPanel version 11.25 (Release 42213).
cPanel provided two types of editor. One is simple editor another one is advanced editor. Using simple editor, domain owners can manage A and CNAME records. However, TXT records can [...]









































