New account domain not pointing to /home/USERNAME/public_html

Started by DA_MAN, December 15, 2018, 07:50:55 AM

Previous topic - Next topic

DA_MAN

I have installed CWP and everything seemed to have gone well. The problem I am having is that the root domain created when creating the first user account at /home/USERNAME/public_html, the index.html is not what is getting read. I replaced it and continue to get the default CWP banner page rather than my index.html.

Server is set up properly and NAT'ed.

It just acts as if it is loading the banner page from someplace other than at /home/USERNAME/public_html/index.html.

randyproxz

If your domain already pointing to CWP and modified index.html but still showing CWP banner it can be your vhost issue.
Your domain indicate to run by default page of CWP not in your DocumentRoot.

Try to restarting named and httpd :

$ service named restart
$ service httpd restart


Or in your CWP.admin dashboard see "Service Status" panel
- restart "BIND DNS Server"
- restart "Apache Webserver"

DA_MAN

Already did this - doing it again did not resolve the issue. Any other suggestions?

DA_MAN

The problem seems to have occurred because I was using NGINX instead of Apache. Changing to Apache allowed the replaced index.html in the directory /home/USERNAME/public_html to be loaded properly.

...so there must be some issue with NGINX perhaps the vhosts file? I am baffled.