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

How to check if some one is spamming from my server (Linux Plesk 8.x)

Tuesday, November 13th, 2007

If you see a lot of smtp connections or your server gets constantly in spam black lists, maybe you should check if some bot spams through your server.

The are 2 cases of spamming through a box:

1)using unsecure php forms that bots abuse
2)using smtp connection from an outside client

this artice is about the 2nd case,

(more…)

How to kill multiple tasks/scirpts

Tuesday, November 13th, 2007

I guess most of you did face situtation where you type top and see a lots of unknown or mysterious scripts/utils running that take over top screen and your machine resources.

most of the times these scripts (like the irc bots that I encountered) run via perl and disguise them selfs using names like : /usr/local/apache/bin/httpd -DSSL

ofcourse if you try to kill one another 100 run in the same time, so the best way is to

(more…)

How to manage open_basedir option in Linux Plesk Servers

Wednesday, November 7th, 2007

They way to do such change in plesk 7,5 and in 8,x is different so follow the instructions below:

(more…)

How to send an email via telnet

Monday, October 29th, 2007

Run the command telnet [host] port
for example:

-telnet mail.domain.tld 25
Right after the connection is established (more…)