• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

Howto disable the www alias option for a domain.

DiogoR

New Pleskian
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.
 
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.
 
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.
 
Back
Top