How to edit the root domain file.
Hey Guys,
I was wondering how I can edit the main domain of my site.
The main domain is REDACTED but I can't find the file path to edit those. The domain IS NOT attached to a user.
Here is a list of the /home/ where all domains default, as stated the REDACTED domain is the primary site.
-
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 -
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 it0 -
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 -
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 -
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 -
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.
Nobody0 -
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.
Comments
7 comments