Author Topic: Where is root public_html ?  (Read 39182 times)

0 Members and 4 Guests are viewing this topic.

Offline
*
Where is root public_html ?
« on: May 29, 2015, 11:55:52 PM »
Hi.
When entering my webpage I get the standard Centos web panel welcome page.

But where is this folder located so I can change content?
I dont have /public_html

From the welcome page:
"If you are the website administrator:
You may now add content to the directory /public_html. Note that until you do so, people visiting your website will see this page and not your content. To prevent this page from ever being used, delete index.html in /public_html."
« Last Edit: May 30, 2015, 12:13:36 AM by bigdrago »

Offline
*
Re: Where is root public_html ?
« Reply #1 on: May 30, 2015, 03:31:05 PM »
it's here: /home/your-username/public_html

Offline
*
Re: Where is root public_html ?
« Reply #2 on: May 30, 2015, 08:49:43 PM »
No users is created... I am root. Nothing is under /home

Offline
*
Re: Where is root public_html ?
« Reply #3 on: May 31, 2015, 05:40:35 AM »
/usr/local/apache/htdocs

Is where the default template is. You can place file in there and just use the IP address to reach them i.e. without a domain name.

http://<SERVER-IP>/file.html

Jeff

Offline
*
Re: Where is root public_html ?
« Reply #4 on: May 31, 2015, 06:55:05 PM »
Can I place phpmyadmin folder there to?

Offline
*
Re: Where is root public_html ?
« Reply #5 on: June 01, 2015, 06:03:53 AM »
Not sure what you're trying to do as phpMyAdmin is already installed by Centos Web Panel out of the box:

http://<IP-ADDRESS>/phpMyAdmin/index.php

If that's not showing then maybe your installation is at fault.

Jeff

Offline
*
Re: Where is root public_html ?
« Reply #6 on: June 05, 2015, 11:23:25 AM »
I uploaded phpsysinfo to /usr/local/apache/htdocs

Any clues?


But it is just showing 500 Internal Server Error.

Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, you@example.com and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.

Offline
*
Re: Where is root public_html ?
« Reply #7 on: June 09, 2015, 09:10:14 PM »
has this been fixed, just set up your packages and create your first user account.Then it may only then write the folders.

Offline
*
Re: Where is root public_html ?
« Reply #8 on: July 04, 2015, 03:14:11 AM »
has this been fixed, just set up your packages and create your first user account.Then it may only then write the folders.

I have created a package (copied everything from the default package) and created a user.
Now I do have the user folder and public_html, however the default path is still the /usr/local/apache/htdocs...

Should I set the Apache port to 80 or the port the VPS provider given me?
What should I do to redirect the path to public_html folder?

Please help!
I have spent 2 days to install word-press and this thing is killing me...

Offline
*
Re: Where is root public_html ?
« Reply #9 on: July 04, 2015, 11:01:09 PM »
AntiDDoS Protection (web + mail)
http://centos-webpanel.com/website-ddos-protection-proxy

Join our Development Team and get paid !
http://centos-webpanel.com/develope-modules-for-cwp


Services Monitoring & RBL Monitoring
http://centos-webpanel.com/services-monitor


Do you need Fast and FREE Support included for your CWP linux server?
http://centos-webpanel.com/noc-partner-list
Installation Instructions
http://centos-webpanel.com/installation-instructions
Get Fast Support Here
http://centos-webpanel.com/support-services