Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
EHCP loads, but Apache says no virtual hosts found
#1
Hello all, I am running (or trying to run) EHCP on Debian Lenny. I have sites setup on the server, DNS is all fine, in fact, everything was working great, until recently. Now, seemingly for no reason, I can access the EHCP admin site, but no hosted websites. I have tried restarting services, even rebooting he server, no change. When the server or Apache reloads, it gives a warning "No Virtual Hosts Found" This is extremely irritating because I don't understand how, with no changes, everything works fine, and then nothing works. I am at a loss as to how to fix this. Any suggestions are welcome. Any conf files needed, please let me know, I'll upload immediately.

Restored from old drupal forum, for user uid:2738 username:fieryhail
You may reset your password to access your new account here.
Reply
#2
reason:
most probably, an upgrade on your system caused apache config to be reset....

howto fix:
open /etc/apache2/apache2.conf,

append at last:
Include /etc/apache2/sites-enabled/
Include /var/www/vhosts/ehcp/apachehcp.conf
Include /var/www/vhosts/ehcp/apachehcp_subdomains.conf
Include /var/www/vhosts/ehcp/apachehcp_auth.conf
Include /var/www/vhosts/ehcp/apachehcp_passivedomains.conf


or make sure those lines exists..
then
/etc/init.d/apache2 restart

that should fix it.

Restored from old drupal forum, for user uid:2738 username:fieryhail
You may reset your password to access your new account here.
Reply
#3
Thanks for the response. I didn't install any system updates recently. I checked the apache2.conf and those lines are at the end, verbatim. I restarted apache again, still to no avail. It gives me the error:

Restarting web server: apache2[Mon Aug 17 12:35:13 2009] [warn] NameVirtualHost *:0 has no VirtualHosts
... waiting .[Mon Aug 17 12:35:15 2009] [warn] NameVirtualHost *:0 has no VirtualHosts

From a filesystem point of view, everything appears where it should be. Very puzzling. Any other suggestions? Thanks in advance

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#4
NameVirtualHost *:0 has no VirtualHosts
this error has no importance, it is a warning, you may just ignore it, I think..

and your websites should just work..
if not, say me a few, i will test here..

Restored from old drupal forum, for user uid:2738 username:fieryhail
You may reset your password to access your new account here.
Reply
#5
The websites do not load, here are some of the sites,

http://www.richiescollectibles.com
http://www.adorationchapel-ulsterco.com
http://www.goipsec.com
http://www.immaculateconception-parish.com

Plus there are others as well. What is very confusing, is that these sites WERE coming up fine.

Restored from old drupal forum, for user uid:1 username:ehcpdeveloper
You may reset your password to access your new account here.
Reply
#6
If there is a way to remove domains in ehcp, and then add it again (make sure you backup your files in case anything happens), that would probably solve your problem.

Restart apache afterwords.

Restored from old drupal forum, for user uid:2738 username:fieryhail
You may reset your password to access your new account here.
Reply
#7
I checked your websites,
1st and last loads here, (richie, immacu...)

Do you try to access your sites from the same network as your server ? if this case, you need some settings.

i checked for goipsec.com
the dns does not resolve. try this: ehcp gui-> options->sync dns, sync domains

and I noticed that, dns for goipsec.com is ns1.goipsec.com and ns2.goipsec.com, while dns for richiescollectibles.com is ns1.richiescollectibles.com and ns2.richiescollectibles.com. in whois records...

You should decide and use single dns around all your domains. I mean, you should not use dns as ns1.thatdomain for every domain... That works too, but yould unify dns's..

another question: did you redirect goipsec.com to your server from that registrar ?



Restored from old drupal forum, for user uid:2648 username:Mir
You may reset your password to access your new account here.
Reply


Forum Jump:


Users browsing this thread: 4 Guest(s)

Online Shopping App
Online Shopping - E-Commerce Platform
Online Shopping - E-Commerce Platform
Feinunze Schmuck Jewelery Online Shopping