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

BBCLONE installation in Plesk (linux) – HOW TO

Tuesday, July 8th, 2008

After you install BBCLONE from Plesk’s applications , its not working at all, you can navigate to its page but it doesnt count anything.

In order to make it start counting you have to do the following: (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…)

Grub Error 22

Saturday, November 3rd, 2007

Lets say you have installed 2 OS in your pc Windows & Linux in separate partitions and you use GRUB as a boot loader, then if you some day decide to remove the linux partition (as I did) you will face an error uppon reboot , that will be GRUB Error 22, thats because grub is looking to find its files in the “erased” linux partition which ofcourse isnt there.

(more…)

linux – automatic ftp

Monday, October 29th, 2007

You automate ftp with the unix shell, all you need is a .netrc file which will contain the info for each server you want to connect to. (more…)