If you get an access denied page, then that's because the permissions aren't set right on the folders for your virtual host. They need read and execute permissions set for the user/group that runs the Apache service. Are you running this on a Linux or Windows box?
Jabberwocky wrote:myownalias wrote:Have you tried using the machine IP address instead of the hostname; e.g:
Code: Select all<VirtualHost 192.168.1.2>
ServerName www.domain.ext
ServerAdmin [email protected]
DocumentRoot /www/domain
</VirtualHost>
I know sometimes DNS can be a problem; resolving to an IP address usually fixes that issue, I could be completely wrong; it's been some years since I actively used Apache, I believe that was 1.3.x.
If I try this then the server appears to do nothing. I have assumed that the virtual host name is an IP address I want to give it on the network. I also have to rely on Dynamic DNS from my ISP so using DynDNS which complicates it a bit more.
Try <VirtualHost *> instead, just to see if it works that way.
