I just installed redmine on my ubuntu server 10.04. Redmine is installed correctly because when I start it as standalone I can access it via mydomain.com:3000.
Redmine is located in /usr/share/redmine.
Now I want to access redmine from a subdomain, e.g. redmine.mysite.com. So I added a redmine file to the /etc/apache2/sites-enabled and /etc/apache2/sites-avialable folder with following content:
<VirtualHost *:80>
ServerName redmine.mysite.com
ServerAdmin webmaster@localhost
DocumentRoot /usr/share/redmine/public
LogLevel warn
ErrorLog /var/log/apache2/redmine_error
CustomLog /var/log/apache2/redmine_access combined
<Directory /usr/share/redmine/public>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
</VirtualHost>
Then I execute following commands
sudo a2ensite redmine
sudo service apache2 reload
But my subdomains still shows the default empty plesk page. Any ideas what might be wrong?