Skip to main content

How to edit the root domain file.

Comments

7 comments

  • cPRex Jurassic Moderator
    Hey there! Can you provide me more details on what you mean when you say the domain is not attached to a user? I think that will be the key to getting you the correct information.
    0
  • RossM.
    Hey there! Can you provide me more details on what you mean when you say the domain is not attached to a user? I think that will be the key to getting you the correct information.

    It"s the root domain and won"t let me attach it to a user. The domain serves as the base domain in which I create other accounts on it
    0
  • cPRex Jurassic Moderator
    Thanks for the additional details. There is no such thing as a "root domain" on a cPanel server. Do you mean that this is the hostname of the machine?
    0
  • RossM.
    Thanks for the additional details. There is no such thing as a "root domain" on a cPanel server. Do you mean that this is the hostname of the machine?

    I mean I can"t find the document root for a domain I have on my service. For example: new accounts are made in /home/user/public_html, well I can"t find the document root for a specific domain on my service.
    0
  • cPRex Jurassic Moderator
    Interesting. From the command line you can try running this: /scripts/whoowns domain.com
    and that will tell you the account the domain exists under. You could also manually view the Apache configuration at /etc/apache2/conf/httpd.conf and search for the domain there, as that would show the path.
    0
  • RossM.
    Interesting. From the command line you can try running this: /scripts/whoowns domain.com
    and that will tell you the account the domain exists under. You could also manually view the Apache configuration at /etc/apache2/conf/httpd.conf and search for the domain there, as that would show the path.

    Nobody
    0
  • cPRex Jurassic Moderator
    That's even more confusing, as the "nobody" user can't host web content under a cPanel account. Could you create a ticket with our team so we can check this directly on your system?
    0

Please sign in to leave a comment.