Apache is functioning normally - only it's not, how to fix please?

sarahk

Verified User
Joined
May 11, 2006
Messages
29
Location
Auckland, New Zealand
I've just purchased hosting with direct admin on it - admin, reseller and user rights.

I created 3 resellers on it and one set of resellers worked just fine but the other 2 failed.

I've been able to get some bits up but on others (including subdomains) I get "Apache is functioning normally"

If I call a specific page on the site I get a 404 error.

When I view with the filemanager the files are all there.

The install was done using direct admin backups from the old server (also direct admin, same hosting company).

What could have gone wrong?
 
If you ever see the "welcome to apache" page, it means that the virtualhost isn't loaded in the httpd.conf files for that IP.
It could either be that the user's httpd.conf simply isn't included at all into the main httpd.conf, or it could be that the IP that the domain resolves to doesn't match the IP set in the virtualhost.

If you're using custombuild, the easy fix it:
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
John
 
If it's not your server, then yes, you should contact your hosting company for support. In fact, generally you should always contact your hosting company for support. But ifyou've got admin rights, as you posted above, they may not offer the level of support you need, in which case you may need to learn to do these things yourself, or hire someone to do it for you.

Jeff
 
Still problem

I have similar problem and I can confirm that this is not related to the hosting company but directadmin. I keep a directadmin backup that works everytime i restore the backup. Just that today when I restore the same backup, it just shows the same error message on every domain that I have:

"Apache is functioning normally"..

Any help?
 
ok

If you ever see the "welcome to apache" page, it means that the virtualhost isn't loaded in the httpd.conf files for that IP.
It could either be that the user's httpd.conf simply isn't included at all into the main httpd.conf, or it could be that the IP that the domain resolves to doesn't match the IP set in the virtualhost.

If you're using custombuild, the easy fix it:
Code:
cd /usr/local/directadmin/custombuild
./build rewrite_confs
John

OK. this fixed the problem. ^_^ TQ.
 
problem

hi guys

since i changed my server i have the same problem and my sites get me Apache is functioning normally
how can i fix it to see my website?
my server is CentOS 7

thanks in advance
 
Back
Top