- Joined
- Feb 27, 2003
- Messages
- 8,138
This is the debug guide for that:
http://help.directadmin.com/item.php?id=242
Create an info.php in /var/www/html/info.php with
in it, then view the domain.com/info.php.
We're interested in the _SERVER["SERVER_ADDR"] variable, to confirm that the httpd.conf holds the same IP that the domain is using on the server.
If you're on a LAN, then it's probably going to show your LAN ip, while the httpd.conf might only have the external IP. For that case, use the linked IPs to link the LAN ip to the server IP.
John
http://help.directadmin.com/item.php?id=242
Create an info.php in /var/www/html/info.php with
Code:
<?php phpinfo(); ?>
We're interested in the _SERVER["SERVER_ADDR"] variable, to confirm that the httpd.conf holds the same IP that the domain is using on the server.
If you're on a LAN, then it's probably going to show your LAN ip, while the httpd.conf might only have the external IP. For that case, use the linked IPs to link the LAN ip to the server IP.
John