Control Web Panel

WebPanel => Information => Topic started by: DA_MAN on February 05, 2021, 07:33:24 PM

Title: CWP Contorl Panel a test page showing up at server root IP address.
Post by: DA_MAN on February 05, 2021, 07:33:24 PM
I have in past just gone to, /usr/local/apache/htdocs and changed the index.html file there to something else, but now if you access the server's IP, you get a CWP test page regardless of what you put in there. So has the default location for the folder that is attached to the server IP been moved?
Title: Re: CWP Contorl Panel a test page showing up at server root IP address.
Post by: Igor S. on February 06, 2021, 06:18:41 AM
The default folder is /usr/local/apache/htdocs/ . Try to restart nginx/varnish if you have changed the file.
Title: Re: CWP Contorl Panel a test page showing up at server root IP address.
Post by: DA_MAN on February 07, 2021, 12:31:33 AM
As noted in my first remark, that is the location I changed the index.html in. I am not running Nginx or varnish and I restarted php-fpm and the page still won't change from the test page. What could I be doing wrong? This has never happened before.
Title: Re: CWP Contorl Panel a test page showing up at server root IP address.
Post by: Namaste on February 07, 2021, 01:03:11 PM
Sometimes its dns propagation and will fix itself.   Sometimes it's htaccess, sometimes it's an index.html conflict, sometimes it's wrong permissions, it's something very simple.
Title: Re: CWP Contorl Panel a test page showing up at server root IP address.
Post by: DA_MAN on February 07, 2021, 04:17:07 PM
Oh a whim knowing it was not loading out of that directory for some reason, I went to Select WebServers> Save & Rebuild Configuration. I Left it set on Apache and hit rebuild. Problem solved. That is odd as I had rebuilt the WebServers earlier when I selected NAT'ed configuration...