Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

extra www subdomain - and cannot remove!

Discussion in 'General Discussion' started by nsdesign2, Jan 27, 2012.

  1. nsdesign2

    nsdesign2 Registered

    Jan 27, 2012
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    cPanel won't allow users to create a "www" subdomain - and rightly so, because ww is handled in the main DNS as a CNAME...

    However - some of our users have managed this (probably many years ago before the limitation was put in place).

    This cause massive problems every apache recompile - because the system thinks the domain's document root is public_html/www

    Anyway.. I need to delete these extra (false) www subdomains.. but clicking on delete in the users cPanel gives:

    There was a problem removing the subdomain
    Show Details : Error from domain wrapper: Can't Change the master entry (www).

    ANy ideas? Obviously don't want to break the "correct" use of the www, but need to get it rid from cPanel as a seperate subdomain, as it's causing problems!

    Thanks in advance!
  2. cPanelMichael

    cPanelMichael Technical Support Community Manager
    Staff Member

    Apr 11, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello :)

    You should check for "www" subdomain entries at the following locations:

    Remove entries within the files, and any individual files used purely for the "www" subdomain. Ensure you do not remove the "ServerAlias" itself, as you will still want the "www" alias for the domain name in the Apache configuration.

    When you have finished, run the following commands:

    Thank you.
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice