Control Web Panel

WebPanel => Apache => Topic started by: sanath1978 on June 27, 2014, 10:03:23 PM

Title: How I configure my web site?
Post by: sanath1978 on June 27, 2014, 10:03:23 PM
I have installed panel successfully. I got the server test page on my server IP:2030 and I can log in to the panel without any problem.

So I need to host my web site and I search many places in web and found that it should be in /home/USERNAME/public_html folder

But I can not find public_html folder in /home/Username/

So I have created public_html folder on /home/username/ and installed wordpress

Then I try to browse my site via firefox I am still getting my server test page.

How to resolve this?
Title: Re: How I configure my web site?
Post by: Administrator on June 28, 2014, 11:57:29 AM
if you create new user using this functions in the CWP "Create New Account" this will automaticly install user and add public_html folder.
after this user s created all you need to do is upload your website.

follow this example
http://forum.centos-webpanel.com/aplications/how-to-install-wordpress-to-linux-server/
Title: Re: How I configure my web site?
Post by: carmageddon63 on July 25, 2014, 09:16:48 AM
hi
i am install varnish on cw panel and add a new domain work correctly. bu i restart apache and give this error and not start apache. but i try to browse my new domain on browser its work.

Starting httpd: httpd: Could not reliably determine the server's fully qualified domain name, using centospanel.*****.com for ServerName
(98)Address already in use: make_sock: could not bind to address [::]:80
(98)Address already in use: make_sock: could not bind to address 0.0.0.0:80
no listening sockets available, shutting down
Unable to open logs
Title: Re: How I configure my web site?
Post by: Administrator on July 25, 2014, 03:23:32 PM
you need to follow instructions for using varnish and you can not have 2 webservers on the same port running.

http://forum.centos-webpanel.com/varnish/how-to-install-varnish-cache-on-centos-%28cwp%29/
Title: Re: How I configure my web site?
Post by: carmageddon63 on July 27, 2014, 10:41:56 AM
i am install centos and cwp again. and install varnish all have working correctly. but now i give 500 internal server error for wordpress. i try all answer from that forum but don't work.
pls help. i dont want to install again everyting :)
Title: Re: How I configure my web site?
Post by: Administrator on July 29, 2014, 02:41:34 AM
http://forum.centos-webpanel.com/php/suphp-500-internal-server-error/