I have an application, working at domain example.com, I want configure subdomains ru.example.com. Rails + Passenger + Apache
/etc/apache2/sites-available/example
<VirtualHost *:80>
DocumentRoot /var/www/myapp/public
<Directory /var/www/myapp/public>
AllowOverride all
Options -MultiViews
</Directory>
</VirtualHost>
I tried copy VirtualHost section and change ServerName to ru.example.com and restart apache by command "apachectl restart", but address "ru.example.com" don't work
What i need to solve this?
UPDATE
I need to contact DNS provider and open subdomains, in conf - only copy VH section with different ServerName