Skip to main content

Removing associated subdomains

Comments

9 comments

  • cPRex Jurassic Moderator
    Hey there! That subdomain is actually still a requirement, as that is how we create the Apache vhost. You can see this information in the cPanel >> Domains screen: so you won't want to go too crazy on cleaning or removing those.
    0
  • DarkxPunk
    Thanks, but maybe I am mixing something up. I had recently added new domains to a client with the updated Domains screen and none of those newly added domains had an associated subdomain. However a domain that was added prior to the Domains screen update and the removal of the addon domains screen, still has an associated subdomain. If it is a requirement, why do the newly added domains not have any? Thanks!
    0
  • cPRex Jurassic Moderator
    Can you click the gear wheel in the top right of your screenshot and see if that gives you the option to show associated subdomains? They may just be hidden from your interface to avoid confusion.
    0
  • DarkxPunk
    I know about the gear and option, I did already click it prior to the screen shot so that I could see the associated sub domain for the first domain listed. But regardless here is the image showing the present status of the gear button. To expand on it I can show the pages when you manage the domains, first being the old domain and the second the newer:
    0
  • cPRex Jurassic Moderator
    Thanks for that confirmation. I'm honestly not sure, so it might be best to submit a ticket to our team so we can check the system directly.
    0
  • DarkxPunk
    Ticket ID #94536008
    0
  • cPRex Jurassic Moderator
    Thanks for that - I'm following along with that ticket on my end now.
    0
  • DarkxPunk
    So an update for everyone, it appears I was getting confused with the new Domains interface and being unable to clearly differentiate add-on and parked/alias domains. To clarify there is no clear distinction in the new Domains interface which should probably be fixed, but here are the general rules I have now gathered:
    • Parked/Alias domains can only be for the primary domain
    • If the check-box "Share Document Root" is unchecked, even with the same path as the primary domain, it will become an add-on domain with an associated subdomain
      • You can confirm if a mistake like this was made by going here: cat /var/cpanel/userdata/[user]/main
    • Add-on domains require an associated subdomain with cPanel for vhost reasons, don't understand that fully
    • Only way to prevent associated subdomains from resolving is modifying your DNS entries
    • Add-on domains shouldn't create additional service subdomains, but you can remove them by following this:
    0
  • cPRex Jurassic Moderator
    Thanks for sharing all that!
    0

Please sign in to leave a comment.