1. Please take a little time for this simple survey! Thank you for participating!
    Dismiss Notice
  2. Dear Pleskians, please read this carefully! New attachments and other rules Thank you!
    Dismiss Notice
  3. Dear Pleskians, I really hope that you will share your opinion in this Special topic for chatter about Plesk in the Clouds. Thank you!
    Dismiss Notice

Enabling support for wildcard subdomains - Having trouble...

Discussion in 'Plesk for Linux - 8.x and Older' started by kab012345, Aug 5, 2009.

  1. kab012345

    kab012345 Guest


    I am trying to enable support for wildcard subdomains for my domain on my VPS, and for that, I need to alter the httpd.conf file. I already added the A record needed for the wildcard subdomains support, but I am having trouble with the last step. I don't know how to edit the http.conf properly through SSH, and I searched around and saw that I will also need to create a vhost.conf and vhost_ssl.conf file for this to work since PLESK automatically overwrites any changes I would have made. Could someone please, please help me to do this correctly, maybe with some instructions if it isn't too much trouble? Or even link me to the manual article on this? The only manual I can find on the website is for PLESK 7.1 RELOADED.

    All I need to do is change the following, where domain.com is my domain:
    ServerAlias www.domain.com domain.com
    ServerAlias www.domain.com domain.com *.domain.com

    I asked my host about this but they do not provide technical support, so if you know how I could do all of this the right way SSH (or any other way for that fact since I keep getting the Access denied error and I am on my "root@domain ~" account...) , I would really appreciate it! :) Thank you to anyone in advance.
  2. breun

    breun Golden Pleskian

    Jun 28, 2005
    Likes Received:
  3. kab012345

    kab012345 Guest

    Thanks for the reply. I got one of my admins to do it, but thanks for the article link as well. I'll keep this for future reference. :)