Hello I'm getting this error (NameVirtualHost *:80 has no VirtualHosts) when I try to restart Apache2 on my VPS webserver running Ubuntu 8.10. It was working fine as of Saturday (I did not check it at all yesterday) and suddenly it's not working this morning. I cannot get to my site at all, it just asks me to download a file.
Here's my VH file under sites-enabled:
And my ports.conf:
# domain: fixmyinternetnow.com
# public: /var/www/public_html/fixmyinternetnow.com/
# Admin email, Server Name (domain name) and any aliases
# Index file and Document Root (where public files are located)
# Custom log file locations
CustomLog /var/www/public_html/fixmyinternetnow.com/logs/access.log combined
Plus the end of my Apache2.conf file:
# SSL name based virtual hosts are not yet supported, therefore no
# NameVirtualHost statement here
I've searched around the forums, but none of the fixes seem to work for me. The weirdest part is it was working fine as of two days ago and I haven't made any changes to the server. I'm also the only one who has access to this server. Let me know if there's any additional info I should post. Thanks in advance!
# Include the virtual host configurations: