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

Howto disable the www alias option for a domain.

Discussion in 'Plesk 9.x for Linux Issues, Fixes, How-To' started by DiogoR, May 19, 2009.

  1. DiogoR

    DiogoR New Pleskian

    24
    23%
    Joined:
    May 19, 2009
    Messages:
    15
    Likes Received:
    0
    Hi.

    I need to disable the www option for an already created domain that I enabled the option when I created it.

    I've searched everywhere for it but I can only see it when I create a new domain.

    I need the main domain not to answer to www because I want to create a sub-domain with that name that responds differently.

    Best Regards.
     
  2. Denis Sirochenko

    Denis Sirochenko Guest

    0
     
    Hello,

    Log in to Plesk, go Home> Domains > select domain(s) you wish to modify and click 'Modify'. There are WWW prefix item in the 'Preferences' area, and you can switch it on or off.

    However, I doubt that this will disable www prefix for a domain it has already been assigned to. Please let me know if I am wrong.

    Therefore, to kill it for sure, go Home > Domains > domain.name > DNS settings and remove CNAME record for www.domain.name.

    After that, run

    /usr/local/psa/admin/bin/websrvmng --reconfigure-vhost --vhost-name=domain.name

    That should do.

    Regards,

    Denis.
     
  3. DiogoR

    DiogoR New Pleskian

    24
    23%
    Joined:
    May 19, 2009
    Messages:
    15
    Likes Received:
    0
    I worked like a charm.

    The part

    "Log in to Plesk, go Home> Domains > select domain(s) you wish to modify and click 'Modify'. There are WWW prefix item in the 'Preferences' area, and you can switch it on or off."

    Did it all.
     
Loading...