Question

Apache Still Showing Default Page

  • Posted January 31, 2015

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

Subscribe
Share

This comment has been deleted

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?


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

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.

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