How do I setup all subdomains *.domain.tld to point to a domain domain.tld? | wildcard dns in plesk

Tuesday, July 8th, 2008

For that purpose you should add an entry into domain’s zone DNS  like:

(more…)

Linux Plesk how to add www to a subdomain

Tuesday, July 8th, 2008

To create www prefix for subdomains you need to take the following steps:

1) Create vhost.conf file in the
/home/httpd/vhosts/domain.com/subdomains/subdomain/conf
directory with the following content:

ServerAlias www.subdomain.domain.com

2) Add appropriate A record to the DNS zone of the domain in
Server->Domains->domain.com->DNS

(specify this domain’s IP address instead of 192.168.1.1):

www.subdomain.domain.com.          A     192.168.1.1

3) Run wersrvmng utility to apply changes.

# /usr/local/psa/admin/sbin/websrvmng -v -a

Spam – A Simple Guide To Keeping Your Inbox Clean

Tuesday, July 17th, 2007

In my opinion, the best way to keep clean of spam is simple:

The first rule is NEVER reply to spam, NEVER click the unsubscribe link and NEVER e-mail to the unsubscribe address.

(more…)

Checking if a server is under ddos attack

Monday, June 4th, 2007

A quick and usefull command for checking if a server is under ddos is:

netstat -anp |grep ‘tcp\|udp’ | awk ‘{print $5}’ | cut -d: -f1 | sort | uniq -c | sort -n

(more…)

What is a null route?

Wednesday, May 30th, 2007

What is a null route?

A null route is a route that goes to nowhere.

The reason for creating a null route is to prevent your system from sending any data to a remote system.

(more…)

Creating a Welcome message for SSH logins

Tuesday, May 29th, 2007

Did you ever want to change or create a new login message antime someone logs into SSH? We’ll show you how it’s done.

(more…)