|This guide refers to when you're seeing|
Apache is functioning normallyor
Hey, it worked !
This IP is being shared among many domains.
The cause of this is that either
1) the value the domain resolves to *at your computer* is not matching the value apache is using
2) OR the virtualhost is not included in the apache configs.
For 1) to check this, simply go to Admin Level -> Show All Users, look for the domain, and see what IP it's set to use.
Next, you need to figure out what IP the domain resolves to. It's best to use an external server like dnsreport.com or some other free lookup services to determine the IP the domain resolves to. These 2 IPs need to match.
** Note that if you've recently changed the IP of your domains, you'll have up to 4 hours of waiting before the new IP propogates to you. So seeing the above pages is *normal* for doing IP changes. To lower this time, lower your TTL before making the IP change (see link below)
For 2) There are a few things to check. The user httpd.conf files are:
and this file must be "Include"ed into your main /etc/httpd/conf/httpd.conf one of two possble ways, depending on your setup.
a) if you've got custombuild (usually apache 2.2) then check the /etc/httpd/conf/httpd.conf.
You should see the line:
Include conf/extra/directadmin-vhosts.confsomewhere near the bottom of the file. Then in the /etc/httpd/conf/extra/directadmin-vhosts.conf file, you should see the Include line for the user httpd.conf
Include /usr/local/directadmin/data/users/username/httpd.confIf you *don't* see that, you can rewrite all of the apache confs with:
in your /usr/local/directadmin/conf/directadmin.conf for this setup.
b) if you're using customapache (usually apache 1.3), then it's the same idea, but the user httpd.conf
Include /usr/local/directadmin/data/users/username/httpd.confwill be directly in your /etc/httpd/conf/httpd.conf.
Also, the /usr/local/directadmin/conf/directadmin.conf should hold:
|How to lower your TTL just before an IP change|
|How to add all of the Include lines into your httpd.conf|
© 2003 JBMC Software, Suite 173 3-11 Bellerose Drive, St Albert, AB T8N 1P7 Canada. Mon-Fri 9AM-5PM MST