Author Topic: New account domain not pointing to /home/USERNAME/public_html  (Read 7038 times)

0 Members and 1 Guest are viewing this topic.

Offline
*
New account domain not pointing to /home/USERNAME/public_html
« on: December 15, 2018, 07:50:55 AM »
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.

Offline
*
Re: New account domain not pointing to /home/USERNAME/public_html
« Reply #1 on: December 15, 2018, 08:12:26 AM »
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 :
Code: [Select]
$ service named restart
$ service httpd restart

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

Offline
*
Re: New account domain not pointing to /home/USERNAME/public_html
« Reply #2 on: December 15, 2018, 08:23:38 AM »
Already did this - doing it again did not resolve the issue. Any other suggestions?

Offline
*
Re: New account domain not pointing to /home/USERNAME/public_html
« Reply #3 on: December 15, 2018, 08:53:04 AM »
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.