Virtual Host - Server not found
I'm running different websites on my webserver using Apache VirtualHosts. Now I have troubles getting one site to work. When I browse to the site in Firefox it says "Firefox can't find the server at www.mydomain.com", even though it's spelled correctly.
Further traceroute and ping both resolve to the correct IP, so I doubt it is because of a DNS issue.
I copied the VirtualHost-config file from a working site and just changed the domains and path on the server, which is existent. Further I checked that the site is enabled (with a2ensite), restartet apache, reloaded apache, but it is still not working.
Here's my VirtualHost-File:
<VirtualHost censored_ip:80>
ServerName mydomain.com
ServerAlias mydomain.com www.mydomain.com
ServerAdmin <myemail>
DocumentRoot /var/www/efin/
<Directory /var/www/efin/>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
ErrorLog /var/log/apache2/error_efin.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature On
</VirtualHost>
I hope someone can find the error here, since I have no idea where to look for it anymore. Thanks a lot in advance. I'd be happy to provide further information if needed.
Sincerely, Michael
EDIT (3.8.2011): Actually I'm able to download files which are within /var/www/efin using .com/file.zip... Just entering .com doesn't work..
EDIT2 (3.8.2011): My domain is efinsolutions.com, maybe this helps when troubleshooting.
There is no DNS record in place for www.efinsolutions.com, only for efinsolutions.com.
Going to just http://efinsolutions.com generates a '301 Moved Permanently' to www.efinsolutions.com, which doesn't exist.
Put a record in placed for www.efinsolutions.com, and it should start working.
Try pinging from a different computer or even a computer connected to a different ISP, or use online DNS tools because it does look like a DNS issue, and correct IP is simply cached by your OS.