Originally posted by bamasbest
Actually, I believe that you are sort of confusing PTR's with reverse DNS.
Do a google for Ask Mr DNS and you will be able to read more than you ever wanted to know about DNS issues.
However/Nutshell....
Generally speaking, the first account listed in your httpd.conf file for a shared IP address would be the account that resolves if accessed via http and the ip address.
OH.. yes confused again
please excuse my newb.. thanks for your patience..
Below is the first entry in the ### Section 3: Virtual Hosts
part of my http.conf
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for requests without a known
# server name.
#
#<VirtualHost *:80>
# ServerAdmin
[email protected]
# DocumentRoot /www/docs/dummy-host.example.com
# ServerName dummy-host.example.com
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
#</VirtualHost>
#<VirtualHost _default_:*>
#</VirtualHost>
-- other stuff --
NameVirtualHost 111.11.111.111:80
Alias /bandwidth/ /usr/local/bandmin/htdocs/
<VirtualHost 111.11.111.111>
BytesLog domlogs/srv.mydomainname.com-bytes_log
ServerName srv.mydomainname.com
DocumentRoot /usr/local/apache/htdocs
</VirtualHost>
I`m guessing that the above shouldn`t be the first listed. That is how the http.conf came with the box.
I have replaced the IP with 111.11.111.111
srv.mydomainname.com is the hostname of my server.
I am reading through Ask Mr. DNS now, thanks.