Question

Apache Still Showing Default Page

Posted January 31, 2015 3.5k views

I’ve set up a Django CMS site and created a conf file in the /etc/apache2/sites-available directory and enabled it using the a2ensite command. It works. Sort of.

The first 2 lines of my conf fle are:

ServerName www.maneki-neko-con.org
ServerAlias maneki-neko-con.org

When I browse to http://www.maneki-neko-con.org/ everything looks good, but when I browse to http://maneki-neko-con.org/ I see the default Apache2 Ubuntu Default page.

What am I doing wrong?

– Norman Lynch
Webmaster, Maneki Neko Con

1 comment
  • Have you restarted Apache after modifying the virtualhost config? Are there any other virtualhosts that have maneki-neko-con.org set as the ServerName or ServerAlias?

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.

×
1 answer

I found the problem. File /etc/hostname contained “maneki-neko-con.org”. I edited it to contain “maneki-neko-con” and now everything works perfectly.

– Norman Lynch
Webmaster, Maneki Neko Con

Submit an Answer