Control Web Panel

WebPanel => Installation => Topic started by: lumares on September 14, 2019, 03:19:15 PM

Title: new account domains will only show CWP Test page
Post by: lumares on September 14, 2019, 03:19:15 PM
I have been searching for a solution, found a few but nothing helped.

I have installed a clean server with CWP, when I create an account with a domainname, the domain wil keep showing the default test page.

But when I add a second, third or ... any number of extra domains and point them to the directory, they do work?

So main accounts domains will show test page
added extra domains pointed to the public directory do work and show the website.

I have been looking, any help on this would be greatly appreciated.
Title: Re: new account domains will only show CWP Test page
Post by: studio4host on September 14, 2019, 06:03:15 PM
try to delete index.html file
Title: Re: new account domains will only show CWP Test page
Post by: lumares on September 14, 2019, 06:08:50 PM
Thank you for your reply,

I did remove the index.html files early on, problem persists.

Where could I check the file locations of the account domains? The added domains are quite easy to delete and reset in the UI but they seem to work ok.
Title: Re: new account domains will only show CWP Test page
Post by: Bestariweb Hosting on September 15, 2019, 08:41:01 AM
Domain account is located at path
Code: [Select]
/home/yourcwpusername/public_html/The test page for each domain is located at
Code: [Select]
/home/yourcwpusername/public_html/index.html
You can change the default appearance by editing the file

Code: [Select]
/usr/local/cwpsrv/htdocs/resources/admin/tpl/new_account_tpl
Title: Re: new account domains will only show CWP Test page
Post by: lumares on September 27, 2019, 06:54:25 PM
Thank you for your reply.

However the problem is, there already is no index.html anymore, I've already removed it.
But the main domain is still showing the default page.

example:

I have a main account with a domainA and created 2 extra domains (DomainB and DomainC) all pointing to the same website/directory.

DomainA -> shows default page, no matter what I do it keeps showing the default page.
DomainB & DomainC -> shows the website I have installed.

Where can I find the Apache config for the main domain? Been looking but not finding. Why is it so easy to edit extra domains but not the main account domains.

Title: Re: new account domains will only show CWP Test page
Post by: lumares on September 28, 2019, 10:03:32 AM
Ok, found the settings and they are correct. The domain points to the exact same directory as the extra domains.

It looks like some kind of caching is causing this?
Title: Re: new account domains will only show CWP Test page
Post by: lumares on September 29, 2019, 12:36:19 PM
Another update.

So after testing and some trail and error, deleted an account and recreated it.

Now I noticed HTTP requests do work and show the webpage. however some main account https domains stil show the default page (while the http version does work).

Almost ready and done to try a complete reïnstall or just go back to DA.

ps: I have a CWP pro account.

Title: Re: new account domains will only show CWP Test page
Post by: pixelpadre on October 01, 2019, 11:50:30 AM
probably dns delay that will fix itself in a few days
Title: Re: new account domains will only show CWP Test page
Post by: nzmjunior on October 15, 2020, 07:44:17 PM
Did you manage to solve?
I've been here for 10 hours looking for a solution.

The site opens without https

http://judaismonazareno.org

With https goes to Test Page
https://judaismonazareno.org
Title: Re: new account domains will only show CWP Test page
Post by: Igor S. on October 18, 2020, 06:30:29 AM
@nzmjunior try to restart WEB servers you use (Apache, nginx, varnish).
Title: Re: new account domains will only show CWP Test page
Post by: tktx on January 10, 2021, 01:43:57 AM
I have the same issue. How to restart nginx or Apache?
Title: Re: new account domains will only show CWP Test page
Post by: Painkiller88 on March 20, 2021, 07:09:10 AM
Make sure you don't have varnish or your browser cached the old files.

You will always see the default page but after creating a website in the public_html folder you really should see your page.

Delete cached items in your browser and also restart varnish if used and CWP Cache on dashboard so you really get the actual site.

On Chrome you can open the dev console and right click on the refresh symbol beside the address bar and select hard refresh.
Title: Re: new account domains will only show CWP Test page
Post by: changlee on April 08, 2021, 06:09:59 AM
Hello,
I faced that issue many times using CWP PRO. It is not a CWP issue. CWP works great and the updates are fantastic. My issue was with CloudFlare where I had not properly setup the accounts SSL so the /index.php was working fine with CloudFlare's Flexible SSL.

The problem was when I used CloudFlare's Full SSL.
Title: Re: new account domains will only show CWP Test page
Post by: aujlaakaran0 on May 12, 2021, 10:01:07 AM
Hello,
I faced that issue many times using CWP PRO. It is not a CWP issue. CWP works great and the updates are fantastic. My issue was with CloudFlare where I had not properly setup the accounts SSL so the /index.php was working fine with CloudFlare's Flexible SSL.

The problem was when I used CloudFlare's Full SSL.

Damm even I am having a similar kind of issue, I have searched all over the internet and even have posted on number of threads on different forum, no solution seems to work. I am really frustrated, can anyone of you here help me resolve this issue, I am very much tired now.
Title: Re: new account domains will only show CWP Test page
Post by: iamakinola on May 17, 2021, 05:09:24 AM
If you are facing any related issues like this, just know that it is DNS propagation on process. If you configure your DNS well, just have a little patience. Just make sure that your NS and IPadress is pointed that your server
Title: Re: new account domains will only show CWP Test page
Post by: aujlaakaran0 on May 22, 2021, 09:52:01 AM
Damm even I am having a similar kind of issue get-mobdro.com (https://get-mobdro.com/home/)
Title: Re: new account domains will only show CWP Test page
Post by: issh1989 on October 07, 2021, 11:04:35 AM
For anyone who faced this problem:
after days of working to solve this I found files in: /usr/local/apache/conf.d/vhosts/
the domain who shows the default page has files in this directory named: exampledomain.com.conf.disabled & exampledomain.com.ssl.conf.disabled

JUST find these files and remove the last extension (.disabled) and Restart Web Servers (the easiest way to restart web servers from side menu WebServer Settings -> SSL Certificates page and then Restart Web Servers button on the top of SSL cetificates table).

I wish my comment will help somebody.
Title: Re: new account domains will only show CWP Test page
Post by: Arshdeep Singh on February 03, 2022, 11:06:07 AM

Installation / Re: new account domains will only show CWP Test page
Title: Re: new account domains will only show CWP Test page
Post by: Arshdeep Singh on February 03, 2022, 11:08:08 AM
Re: new account domains will only show CWP Test page
Title: Re: new account domains will only show CWP Test page
Post by: gintibande on April 23, 2022, 12:09:39 PM
Thank you for your reply.
Title: Re: new account domains will only show CWP Test page
Post by: gintibande on May 01, 2022, 09:36:33 AM
 I am having a similar kind of issue
mobdro apk (https://get-mobdro.com/home/)