The MU forums have moved to WordPress.org

Plesk Install and Sub Domains (4 posts)

  1. cmalpeli
    Member
    Posted 17 years ago #

    Hello everyone -- i'm trying to get sub domains working with a Plesk managed VPS server. So far I have done the following:

    1. Created wildcard DNS entry *.mydomain.com pointing to my IP

    2. Created a vhost.conf and vhost.ssl.conf which both contain the following:

    ServerAlias *.mydomain.com

    <Directory /$HTTPD_VHOSTS_D/mydomain.com/httpdocs>
    AllowOverride FileInfo
    </Directory>

    3. Reconfigured the domain in Plesk by calling "$PRODUCT_ROOT_D/admin/bin/websrvmng -a -v" where $PRODUCT_ROOT_D is where Plesk is located on the server, in my case its /usr/local/psa so complete path is "/usr/local/psa/admin/bin/websrvmng -a -v".

    4.Restarted Apache

    This doesn't seem to work however. mydomain.com still resolves to the original blog created with the installation, but none of the subdomains seem to work.

    I think I've followed all the steps that I was able to find in the WP support forums, but no luck so far.

    Any ideas or suggestions?

  2. contrid
    Member
    Posted 16 years ago #

    I have the exact same problem...
    Wish there was a solution.
    Will keep on searching and post back here.

  3. jplancaster
    Blocked
    Posted 16 years ago #

    What path did you save your vhost.conf and vhost.ssl.conf files?

  4. jplancaster
    Blocked
    Posted 16 years ago #

    run it from sbin:

    usr/local/psa/admin/sbin/websrvmng -a -v

About this Topic

  • Started 17 years ago by cmalpeli
  • Latest reply from jplancaster