Forum Moderators: phranque
We have registered a couple of .tk and .no-ip.com domain names and no matter what I put as the server name and server alias for the virtual host in the config file, the only thing that works is "*" or "*.*". Is there a way that I can find out what is being sent as the host name in the headers?
Also, if I set the virtual hosts DocumentRoot as anything other than the server root, the html files stop working. ie: if I map it to a directory containing a .asp file, it works however if I map it to one containing a .html file other than the server root, it fails.
Any ideas?
This will show the requests your browser sends to it. It won't show the request the browser sends to your own site, though -- you'd have to install a script on your server and get it working to do that, which obviously is the problem right now.
Check the syntax of your DNS records to begin with, and then the syntax of your virtual host-related config; It is suspicious that your server responds to a literal "*" in the domain name... Well, it sounds funny to me, anyway.
Jim
The other problem.
www.example.com.au points at our server. I have a VirtualHost set up for it and its working, however if I point the DocumentRoot at anything other than C:/web such as C:/web/example as its meant to be, html and htm files wont work but asp ones will.
Any ideas?
[edited by: jdMorgan at 1:10 pm (utc) on April 6, 2005]
[edit reason] Removed domains - Please see TOS. [/edit]