# apt install wordpress # cat /etc/apache2/sites-available/wordpress.conf
<VirtualHost *:80> ServerName backend.wordpress.valtest.bmstu.ru DocumentRoot /usr/share/wordpress/ </VirtualHost>
# cat /etc/wordpress/config-wordpress.valtest.bmstu.ru.php
<?php define('DB_NAME', 'wordpress'); define('DB_USER', 'wordpress'); define('DB_PASSWORD', 'wordpress'); define('DB_HOST', 'localhost'); define('WP_CONTENT_DIR', '/usr/share/wordpress/wp-content'); define('WP_CONTENT_URL', '/wp-content'); # for relative url ?>