The MU forums have moved to WordPress.org

subdomains on Plesk (4 posts)

  1. bobdebilder
    Member
    Posted 14 years ago #

    Hi there

    I have read across the forums relating to this problem but could not find a clear defined answer .. so here goes

    installed WPMU to domainname.com

    all fine and dandy

    when I try to create a new subdomain blog

    bob.domainname.com

    it provides me with a default page with no blog there

    I am on a Plesk dedicated server

    Thanks in advance

    G

  2. binarybit
    Member
    Posted 14 years ago #

    any updates on this?

  3. andrea_r
    Moderator
    Posted 14 years ago #

    Have you asked your webhost support on how to enable wildcard subdomains?

  4. aspirin29
    Member
    Posted 14 years ago #

    I was having the same problem, but sorted it following these instructions...

    Using wildcard subdomains in Plesk

    In some situations, you may want to have domain.com as well as *.domain.com point to the same site in Plesk. Plesk will automatically set up hosting for domain.com and http://www.domain.com within the Apache configuration, but you can direct all subdomains for a particular domain to a certain virtual host fairly easily.

    DNS
    Add a CNAME or A record for *.domain.com which points to domain.com (for a CNAME), or the domain's IP (for an A record.

    Apache Configuration
    Edit the /var/www/vhosts/domain.com/conf/vhost.conf or /home/httpd/vhosts/domain.com/conf/vhost.conf file and enter this information:

    ServerAlias *.domain.com

    If the vhost.conf didn't exist before, you will need to run:

    # /usr/local/psa/admin/bin/websrvmng -av

    Whether the vhost.conf was new or not, you will need to reload the Apache configuration:

    # /etc/init.d/httpd reload

    Credit: http://rackerhacker.com/2007/08/10/using-wildcard-subdomains-in-plesk/

About this Topic

  • Started 14 years ago by bobdebilder
  • Latest reply from aspirin29