Wildcard DNS Using Plesk 9 and LAMP

I was trying to setup a WordPressMU site and I needed to enable Wildcard DNS. I found some excellent resources on this at this page run by 1&1 hosting.


Some of the commands in SSH regarding the websrvmng confused me. The following page shows some  of the commands you can run on this program.



I setup another WordPresMU site. I had problems using the site even after following the above instructions. The problem turned out to be that the first site DNS info was with Network Solutions who already had a CNAME record with the wildcard domain setup. The new one was being hosted by GoDaddy. This did not have a wildcard for sub-domains setup by default. I tried to setup a CNAME record but it was refused. I created an A name wildcard. That’s doing the trick.

Changing Linux Numeric Permissions Recursively

Another command frequently being used.

chmod -R 666 httpdocs

command + recursive switch + permission number + directory that you want the permissions for all files and sub-directories to be effected by the command.

Losing Network Card In Virtual Server 2005 R2

This always happens and everytime it does I spend time looking for the fix. When MS Virtual Server get shut down due to powere outage etc. The virtual server loses it’s network card. When I try to add it back the only thing in the drop-down is “not connected”.

Here’s the trick.

Go to Virtual Network >> Add – this is where you can add the physical card back to the virtual server.

Preparing Catalog Data For Use With Xdata

Go to MBDealer site > Product Database

For fields choose – MBNumber, Title, Best Seller, UPC, ISNB13, MediaType, Price, ByLine, DifOverall, PubDate, Description.

Get Data

Right click and save generated Txt file to hard drive.

Open in Excel – Text Import Wizard > Delimited> Tab>

Change the following columns to Text instead of General

  • ProductID
  • UPC
  • ISBN13

**Important leave Description as General

Insert two columns after Product ID

In the first column enter *space BW.tif and then drag the value to the end of the column

In the next column use a Concatenate function to combine ProductID + BW.tif

If this doesn’t work as expected check that the format for the Concatenating column is General

Drag the value to the end of the column to create the image name

Save as a CSV format file

Change Welcome to the Frontpage – in Joomla 1.5

This ones hard to find. So here’s a handy reference.

Go to Menu Manager > Main Menu > Menu Items


Edit Home


Open up the Parameters (System) And make changes.


Install WordPress using LAMP + Plesk 9

  • Create Domain in Plesk 9.
  • In Domain created add database.
  • Create database user for database
  • Open wp-config.php and add the database info into the fields

/** The name of the database for WordPress */
define(‘DB_NAME’, ‘databasename’);

/** MySQL database username */
define(‘DB_USER’, ‘databaseUserCreated4thisDomain’);

/** MySQL database password */
define(‘DB_PASSWORD’, ‘password’);

/** MySQL hostname */
define(‘DB_HOST’, ‘localhost’);

  • Upload WordPress files to the server

Installing a Joomla Multi-Site Slave Site Using Plesk 9

In Plesk:

Home>>Domains>>(select domain of master site)>> Domain Aliases – put in the name of the new joomla site

Log into the Joomla Master Site Admin >> Components >> Multi Sites >> Manage Sites >> New

Fill out Site Details  property sheet and Save

Goto Joomla install page via the alias created for the master Domain

Follow prompts until database page. Enter info for Master database. Important! click the Advanced button and change from the default prefix jom_ to another name.

Handy Linux Commands for SSH part 1

To enable SOAP for PHP5

Login via SSH and run:

yum -y install php-soap

Then restart Apache:

/etc/init.d/httpd restart

Install In Joomla

To document my steps…

  • Create domain in Plesk (be sure to uncheck  php safe_mode on)
  • Create database for domain
  • Use FTP to move Joomla directories into httpdocs folder of domain created
  • Change permissions during the install process (@ directory above httpdocs folder chmod -R 777 httpdocs)
  • Do the Joomla web install – (This time I enabled FTP layer)
  • Deleted Installation directory

Do not change the name of the configuration.php before starting the install from the Joomla site because the install will view this as already being installed and will prompt for deleting of the install folder on the site.


I’m starting this blog to document my IT experiences of deploying WordPress & Joomla on LAMP after spending years working in the Microsoft world.

I’m currently having an issue with getting Joomla components installed. This I believe is caused by having the site manged with a Plesk server interface. I’m using Plesk version 9.

I’ve been working with our host Sectorlink, who have helpfully suggested that I Google the problem. Of course I’ve been doing this for sometime. Not helpful.

One thing about Plesk that makes troubleshooting this issue difficult is that there are two php.ini files.

I found on


the way to determine which of these files the site is using.

php -i phpinfo | grep 'Configuration File'

The answer returned was…

[root@host /]# php -i phpinfo | grep ‘Configuration File’
Configuration File (php.ini) Path => /etc/php.ini