• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Question How to remove www. alias from httpd.conf

CoyoteKG

Regular Pleskian
Hello,

I have one domain which we wan't use only without www.
Is it possible from Plesk panel to remove from conf that alias?

I switched to none "Preferred domain", and from DNS i deleted CNAME www.domain.com,
but still it is redirected.

In .htaccess there is no redirection rule.
 
Hello,

I have one domain which we wan't use only without www.
Is it possible from Plesk panel to remove from conf that alias?

I switched to none "Preferred domain", and from DNS i deleted CNAME www.domain.com,
but still it is redirected.

In .htaccess there is no redirection rule.

Normally its in plesk

Websites & Domains > Chosen Domain > Hosting Settings > Preferred domain > Set it to domain.ext without the www
 
Delete a Domain Alias in Plesk 11.5
  1. If you are in the Service Provider view (you have a left nav), complete the following.
    • Click Domains.
    • Next to the appropriate Domain Name, click Open in Control Panel.
      .resized_600x225_delete_domain_open_ctrl_panel.png
    • The Control Panel view opens.
  2. If you are in the Power User view, the Control Panel is open.
    • Expand the section for the Domain Alias.
      .resized_600x122_delete_domain_expand.png
    • Click Remove Domain Alias.
      delete_domain_remove.png
    • Confirm delete.
      delete_domain_confirm_delete.png
    • Your domain alias is removed.
 
Back
Top