New in CWP Edge-LatestFree with every CWPpro licenceWebsites up to 300x faster

CWP now includes LSPHP, LSAPI-Cache and CWP Cage at no extra cost with all CWPpro licences. The LSAPI-Cache plugin is integrated into our WordPress and other script installers, and CWP Cage gives every user complete isolation. Available now in the CWP Edge-Latest version.

Get CWPpro ›

Domain Pointing to wrong folder

Started by theden, March 11, 2019, 03:41:00 PM

Previous topic - Next topic

theden

Hi,
   My domain was working fine on my server before 10 hours. i forgot cloudflare account credentials which i have used to connect my domain. so i created new cloudflare account and changed dns in Godaddy. After this change my domain pointing to /usr/local/apache/htdocs/ not to it's correct folder while all other domains are working fine. I've checked vhosts also rebuilt it. Domain was pointing correctly from 2 months.. Nothing changed on server side just changed cloudflare account.

Thanks in advance.

Netino

You can have a DNS resolving problem, or a apache configuration problem.
But as you are using clodflare, may be you have a apache configuration problem.
Start testing if your domain is resolving correctly to your server.

Run inside your server:

# host domain.com


If pointed to your server, check apache logs.
If no, fix you DNS problem.

When you assure your domain is resolving to your server, you can check if apache is serving your pages.
You must check your logs:

/usr/local/apache/logs/error_log
/usr/local/apache/logs/access_log
/usr/local/apache/domlogs/domain.com.error.log
/usr/local/apache/domlogs/domain.com.log


If they are served, you can fix the problems as pointed in your logs.

Regards,
Netino