All my Virtual Hosts are working except this one

  • Posted on August 27, 2014
  • OrrettAsked by Orrett

Hey guys. I have the following setup Ubuntu 12.04 LTS LAMP Stack 4 Virtual Hosts

Currently all my virtual hosts are working except for one. It was working when I last checked it a couple days ago but since then it has stopped working. The DNS is working so I know it is some misconfiguration on my server. I have disabled and re-enabled the virtual host as well as creating a completely new virtual host with the same directory location. Nothing seems to work. I am posting my virtual host file and hopefully someone can show me what is going on.

<VirtualHost *:80>
	ServerAdmin *******
	ServerName ************.com
	ServerAlias www.************.com

	DocumentRoot /var/www/************
	<Directory />
		Options FollowSymLinks
		AllowOverride All
	<Directory /var/www/************/>
		Options Indexes FollowSymLinks MultiViews
		AllowOverride All
		Order allow,deny
		allow from all

	ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
	<Directory "/usr/lib/cgi-bin">
		AllowOverride All
		Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
		Order allow,deny
		Allow from all

	ErrorLog ${APACHE_LOG_DIR}/error.log

	# Possible values include: debug, info, notice, warn, error, crit,
	# alert, emerg.
	LogLevel warn

	CustomLog ${APACHE_LOG_DIR}/access.log combined

    Alias /doc/ "/usr/share/doc/"
    <Directory "/usr/share/doc/">
        Options Indexes MultiViews FollowSymLinks
        AllowOverride All
        Order deny,allow
        Deny from all
        Allow from ::1/128


Thanks in advance for any help.

Show comments

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Want to learn more? Join the DigitalOcean Community!

Join our DigitalOcean community of over a million developers for free! Get help and share knowledge in Q&A, subscribe to topics of interest, and get courses and tools that will help you grow as a developer and scale your project or business.

Sorry to see that your question hasn’t received an answer yet. Unfortunately, after this much time, it is unlikely that an answer for this specific question will be provided. For people still landing here via search, check out this updated tutorial on setting up Apache Virtual Hosts: