Control Web Panel

WebPanel => Apache => Topic started by: bigdrago on May 29, 2015, 11:55:52 PM

Title: Where is root public_html ?
Post by: bigdrago 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."
Title: Re: Where is root public_html ?
Post by: banane on May 30, 2015, 03:31:05 PM
it's here: /home/your-username/public_html
Title: Re: Where is root public_html ?
Post by: bigdrago on May 30, 2015, 08:49:43 PM
No users is created... I am root. Nothing is under /home
Title: Re: Where is root public_html ?
Post by: jeffusher 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
Title: Re: Where is root public_html ?
Post by: bigdrago on May 31, 2015, 06:55:05 PM
Can I place phpmyadmin folder there to?
Title: Re: Where is root public_html ?
Post by: jeffusher 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
Title: Re: Where is root public_html ?
Post by: bigdrago 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.
Title: Re: Where is root public_html ?
Post by: Parricull 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.
Title: Re: Where is root public_html ?
Post by: pnyfat 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...
Title: Re: Where is root public_html ?
Post by: Administrator on July 04, 2015, 11:01:09 PM
you should check this
http://wiki.centos-webpanel.com/default-page-displayed-for-all-domains