Control Web Panel

WebPanel => Apache => Topic started by: Bossmanuk on April 05, 2019, 11:11:13 AM

Title: Index Page
Post by: Bossmanuk on April 05, 2019, 11:11:13 AM
Hi Everyone,
I have finally got my server working, i have a new issue. The index file keeps showing even though i have uploaded websites to the directories? The original index file is not in the public_html directory anymore but still showing when i visit the website?

Thanks

Bossmanuk
Title: Re: Index Page
Post by: Bossmanuk on April 05, 2019, 01:57:51 PM
So, i have worked out that all sites created root directory is being served from /usr/local/apache/htdocs and not the individual ones created by Vhosts!
Title: Re: Index Page
Post by: Igor S. on April 05, 2019, 03:41:36 PM
Hi, how exactly do you create the VirtualHosts? Are you sure you do it via CWP?
Title: Re: Index Page
Post by: Bossmanuk on April 05, 2019, 03:52:43 PM
Yep, everything is done via CWP with a fresh install.
Title: Re: Index Page
Post by: Igor S. on April 05, 2019, 03:53:20 PM
Okay. :)
Title: Re: Index Page
Post by: Bossmanuk on April 05, 2019, 03:56:45 PM
Still need to fix it as it is still pointing to the wrong location!
Title: Re: Index Page
Post by: Igor S. on April 05, 2019, 04:10:23 PM
What OS do you use? How exactly do you add the accounts?
Include all information since we do not see your computer and server.  ;)
Title: Re: Index Page
Post by: Bossmanuk on April 05, 2019, 04:21:59 PM
I am using CentOS 7 and i added the accounts through CWP7. User Accounts then New Account and it generates the account and settings etc.

It always seems to get the dns settings wrong aswell as the documentroot!