Deprecated: Function set_magic_quotes_runtime() is deprecated in /nfs/c01/h05/mnt/2939/domains/ on line 14
Cidamon: Blog: Create wildcard subdomain using plesk
Create wildcard subdomain using plesk
28 November, 2008

Its a mystery to me, why it is so hard to create a wild card sub domain in plesk. Any way here is how it is done.

First go to Domains>>Dns Settings
Then go to “Add record” and add the following record

Record type: “A”
Domain Name: *
IP Address: ip address of the main server (us usually your plesk address ip)

After that restart your domain name service.

Now you will need your root user info to do the rest of the job.

Log into your server using root info (not in plesk). Then go to
Here check if you already have “vhost.conf” then edit that otherwise
create a new one using following command

vi vhost.conf

then add the following entry in the file

ServerAlias *

Now save the file and get back to plesk and restart your apache and dns(bind) service.

Give it some a little time to get updated and then try.


Commenting is closed for this article.